Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
chore: regenerate with updated protoc (#196)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/129bf4ce-2255-4b88-83a1-1b40d560e3d3/targets

PiperOrigin-RevId: 313460921
Source-Link: googleapis/googleapis@c4e3701
  • Loading branch information
yoshi-automation authored Jun 4, 2020
1 parent 2fcae0d commit f54ce0f
Show file tree
Hide file tree
Showing 68 changed files with 662 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ public AccessContextPolicyCase getAccessContextPolicyCase() {
*
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
Expand All @@ -339,6 +340,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
Expand Down Expand Up @@ -367,6 +369,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* @return The assetType.
*/
@java.lang.Override
public java.lang.String getAssetType() {
java.lang.Object ref = assetType_;
if (ref instanceof java.lang.String) {
Expand All @@ -392,6 +395,7 @@ public java.lang.String getAssetType() {
*
* @return The bytes for assetType.
*/
@java.lang.Override
public com.google.protobuf.ByteString getAssetTypeBytes() {
java.lang.Object ref = assetType_;
if (ref instanceof java.lang.String) {
Expand All @@ -417,6 +421,7 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
*
* @return Whether the resource field is set.
*/
@java.lang.Override
public boolean hasResource() {
return resource_ != null;
}
Expand All @@ -431,6 +436,7 @@ public boolean hasResource() {
*
* @return The resource.
*/
@java.lang.Override
public com.google.cloud.asset.v1.Resource getResource() {
return resource_ == null ? com.google.cloud.asset.v1.Resource.getDefaultInstance() : resource_;
}
Expand All @@ -443,6 +449,7 @@ public com.google.cloud.asset.v1.Resource getResource() {
*
* <code>.google.cloud.asset.v1.Resource resource = 3;</code>
*/
@java.lang.Override
public com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder() {
return getResource();
}
Expand All @@ -468,6 +475,7 @@ public com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder() {
*
* @return Whether the iamPolicy field is set.
*/
@java.lang.Override
public boolean hasIamPolicy() {
return iamPolicy_ != null;
}
Expand All @@ -490,6 +498,7 @@ public boolean hasIamPolicy() {
*
* @return The iamPolicy.
*/
@java.lang.Override
public com.google.iam.v1.Policy getIamPolicy() {
return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
}
Expand All @@ -510,6 +519,7 @@ public com.google.iam.v1.Policy getIamPolicy() {
*
* <code>.google.iam.v1.Policy iam_policy = 4;</code>
*/
@java.lang.Override
public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
return getIamPolicy();
}
Expand All @@ -528,6 +538,7 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
*
* <code>repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;</code>
*/
@java.lang.Override
public java.util.List<com.google.cloud.orgpolicy.v1.Policy> getOrgPolicyList() {
return orgPolicy_;
}
Expand All @@ -543,6 +554,7 @@ public java.util.List<com.google.cloud.orgpolicy.v1.Policy> getOrgPolicyList() {
*
* <code>repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;</code>
*/
@java.lang.Override
public java.util.List<? extends com.google.cloud.orgpolicy.v1.PolicyOrBuilder>
getOrgPolicyOrBuilderList() {
return orgPolicy_;
Expand All @@ -559,6 +571,7 @@ public java.util.List<com.google.cloud.orgpolicy.v1.Policy> getOrgPolicyList() {
*
* <code>repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;</code>
*/
@java.lang.Override
public int getOrgPolicyCount() {
return orgPolicy_.size();
}
Expand All @@ -574,6 +587,7 @@ public int getOrgPolicyCount() {
*
* <code>repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;</code>
*/
@java.lang.Override
public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
return orgPolicy_.get(index);
}
Expand All @@ -589,6 +603,7 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
*
* <code>repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;</code>
*/
@java.lang.Override
public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index) {
return orgPolicy_.get(index);
}
Expand All @@ -599,6 +614,7 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int i
*
* @return Whether the accessPolicy field is set.
*/
@java.lang.Override
public boolean hasAccessPolicy() {
return accessContextPolicyCase_ == 7;
}
Expand All @@ -607,13 +623,15 @@ public boolean hasAccessPolicy() {
*
* @return The accessPolicy.
*/
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy() {
if (accessContextPolicyCase_ == 7) {
return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
}
return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
}
/** <code>.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;</code> */
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
getAccessPolicyOrBuilder() {
if (accessContextPolicyCase_ == 7) {
Expand All @@ -628,6 +646,7 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy(
*
* @return Whether the accessLevel field is set.
*/
@java.lang.Override
public boolean hasAccessLevel() {
return accessContextPolicyCase_ == 8;
}
Expand All @@ -636,13 +655,15 @@ public boolean hasAccessLevel() {
*
* @return The accessLevel.
*/
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel() {
if (accessContextPolicyCase_ == 8) {
return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
}
return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
}
/** <code>.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;</code> */
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
getAccessLevelOrBuilder() {
if (accessContextPolicyCase_ == 8) {
Expand All @@ -657,6 +678,7 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
*
* @return Whether the servicePerimeter field is set.
*/
@java.lang.Override
public boolean hasServicePerimeter() {
return accessContextPolicyCase_ == 9;
}
Expand All @@ -665,6 +687,7 @@ public boolean hasServicePerimeter() {
*
* @return The servicePerimeter.
*/
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter() {
if (accessContextPolicyCase_ == 9) {
return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
Expand All @@ -674,6 +697,7 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
/**
* <code>.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;</code>
*/
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
getServicePerimeterOrBuilder() {
if (accessContextPolicyCase_ == 9) {
Expand Down Expand Up @@ -2458,6 +2482,7 @@ public java.util.List<com.google.cloud.orgpolicy.v1.Policy.Builder> getOrgPolicy
*
* @return Whether the accessPolicy field is set.
*/
@java.lang.Override
public boolean hasAccessPolicy() {
return accessContextPolicyCase_ == 7;
}
Expand All @@ -2466,6 +2491,7 @@ public boolean hasAccessPolicy() {
*
* @return The accessPolicy.
*/
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy() {
if (accessPolicyBuilder_ == null) {
if (accessContextPolicyCase_ == 7) {
Expand Down Expand Up @@ -2554,6 +2580,7 @@ public Builder clearAccessPolicy() {
return getAccessPolicyFieldBuilder().getBuilder();
}
/** <code>.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;</code> */
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
getAccessPolicyOrBuilder() {
if ((accessContextPolicyCase_ == 7) && (accessPolicyBuilder_ != null)) {
Expand Down Expand Up @@ -2602,6 +2629,7 @@ public Builder clearAccessPolicy() {
*
* @return Whether the accessLevel field is set.
*/
@java.lang.Override
public boolean hasAccessLevel() {
return accessContextPolicyCase_ == 8;
}
Expand All @@ -2610,6 +2638,7 @@ public boolean hasAccessLevel() {
*
* @return The accessLevel.
*/
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel() {
if (accessLevelBuilder_ == null) {
if (accessContextPolicyCase_ == 8) {
Expand Down Expand Up @@ -2696,6 +2725,7 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
return getAccessLevelFieldBuilder().getBuilder();
}
/** <code>.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;</code> */
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
getAccessLevelOrBuilder() {
if ((accessContextPolicyCase_ == 8) && (accessLevelBuilder_ != null)) {
Expand Down Expand Up @@ -2744,6 +2774,7 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
*
* @return Whether the servicePerimeter field is set.
*/
@java.lang.Override
public boolean hasServicePerimeter() {
return accessContextPolicyCase_ == 9;
}
Expand All @@ -2752,6 +2783,7 @@ public boolean hasServicePerimeter() {
*
* @return The servicePerimeter.
*/
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter() {
if (servicePerimeterBuilder_ == null) {
if (accessContextPolicyCase_ == 9) {
Expand Down Expand Up @@ -2855,6 +2887,7 @@ public Builder clearServicePerimeter() {
/**
* <code>.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;</code>
*/
@java.lang.Override
public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
getServicePerimeterOrBuilder() {
if ((accessContextPolicyCase_ == 9) && (servicePerimeterBuilder_ != null)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The parent.
*/
@java.lang.Override
public java.lang.String getParent() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
Expand All @@ -193,6 +194,7 @@ public java.lang.String getParent() {
*
* @return The bytes for parent.
*/
@java.lang.Override
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
Expand Down Expand Up @@ -313,6 +315,7 @@ public com.google.protobuf.ByteString getAssetNamesBytes(int index) {
*
* @return The enum numeric value on the wire for contentType.
*/
@java.lang.Override
public int getContentTypeValue() {
return contentType_;
}
Expand All @@ -329,6 +332,7 @@ public int getContentTypeValue() {
*
* @return The contentType.
*/
@java.lang.Override
public com.google.cloud.asset.v1.ContentType getContentType() {
@SuppressWarnings("deprecation")
com.google.cloud.asset.v1.ContentType result =
Expand Down Expand Up @@ -356,6 +360,7 @@ public com.google.cloud.asset.v1.ContentType getContentType() {
*
* @return Whether the readTimeWindow field is set.
*/
@java.lang.Override
public boolean hasReadTimeWindow() {
return readTimeWindow_ != null;
}
Expand All @@ -377,6 +382,7 @@ public boolean hasReadTimeWindow() {
*
* @return The readTimeWindow.
*/
@java.lang.Override
public com.google.cloud.asset.v1.TimeWindow getReadTimeWindow() {
return readTimeWindow_ == null
? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance()
Expand All @@ -398,6 +404,7 @@ public com.google.cloud.asset.v1.TimeWindow getReadTimeWindow() {
* .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL];
* </code>
*/
@java.lang.Override
public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder() {
return getReadTimeWindow();
}
Expand Down Expand Up @@ -1182,6 +1189,7 @@ public Builder addAssetNamesBytes(com.google.protobuf.ByteString value) {
*
* @return The enum numeric value on the wire for contentType.
*/
@java.lang.Override
public int getContentTypeValue() {
return contentType_;
}
Expand All @@ -1200,6 +1208,7 @@ public int getContentTypeValue() {
* @return This builder for chaining.
*/
public Builder setContentTypeValue(int value) {

contentType_ = value;
onChanged();
return this;
Expand All @@ -1217,6 +1226,7 @@ public Builder setContentTypeValue(int value) {
*
* @return The contentType.
*/
@java.lang.Override
public com.google.cloud.asset.v1.ContentType getContentType() {
@SuppressWarnings("deprecation")
com.google.cloud.asset.v1.ContentType result =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* <code>repeated .google.cloud.asset.v1.TemporalAsset assets = 1;</code>
*/
@java.lang.Override
public java.util.List<com.google.cloud.asset.v1.TemporalAsset> getAssetsList() {
return assets_;
}
Expand All @@ -142,6 +143,7 @@ public java.util.List<com.google.cloud.asset.v1.TemporalAsset> getAssetsList() {
*
* <code>repeated .google.cloud.asset.v1.TemporalAsset assets = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends com.google.cloud.asset.v1.TemporalAssetOrBuilder>
getAssetsOrBuilderList() {
return assets_;
Expand All @@ -155,6 +157,7 @@ public java.util.List<com.google.cloud.asset.v1.TemporalAsset> getAssetsList() {
*
* <code>repeated .google.cloud.asset.v1.TemporalAsset assets = 1;</code>
*/
@java.lang.Override
public int getAssetsCount() {
return assets_.size();
}
Expand All @@ -167,6 +170,7 @@ public int getAssetsCount() {
*
* <code>repeated .google.cloud.asset.v1.TemporalAsset assets = 1;</code>
*/
@java.lang.Override
public com.google.cloud.asset.v1.TemporalAsset getAssets(int index) {
return assets_.get(index);
}
Expand All @@ -179,6 +183,7 @@ public com.google.cloud.asset.v1.TemporalAsset getAssets(int index) {
*
* <code>repeated .google.cloud.asset.v1.TemporalAsset assets = 1;</code>
*/
@java.lang.Override
public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder(int index) {
return assets_.get(index);
}
Expand Down
Loading

0 comments on commit f54ce0f

Please sign in to comment.