Package com.google.cloud.compute.v1
Class BackendServiceIAP.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
- com.google.cloud.compute.v1.BackendServiceIAP.Builder
-
- All Implemented Interfaces:
BackendServiceIAPOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BackendServiceIAP
public static final class BackendServiceIAP.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder> implements BackendServiceIAPOrBuilder
Identity-Aware Proxy
Protobuf typegoogle.cloud.compute.v1.BackendServiceIAP
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BackendServiceIAP.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BackendServiceIAPbuild()BackendServiceIAPbuildPartial()BackendServiceIAP.Builderclear()BackendServiceIAP.BuilderclearEnabled()Whether the serving infrastructure will authenticate and authorize all incoming requests.BackendServiceIAP.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BackendServiceIAP.BuilderclearOauth2ClientId()OAuth2 client ID to use for the authentication flow.BackendServiceIAP.BuilderclearOauth2ClientSecret()OAuth2 client secret to use for the authentication flow.BackendServiceIAP.BuilderclearOauth2ClientSecretSha256()[Output Only] SHA256 hash value for the field oauth2_client_secret above.BackendServiceIAP.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BackendServiceIAP.Builderclone()BackendServiceIAPgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetEnabled()Whether the serving infrastructure will authenticate and authorize all incoming requests.StringgetOauth2ClientId()OAuth2 client ID to use for the authentication flow.com.google.protobuf.ByteStringgetOauth2ClientIdBytes()OAuth2 client ID to use for the authentication flow.StringgetOauth2ClientSecret()OAuth2 client secret to use for the authentication flow.com.google.protobuf.ByteStringgetOauth2ClientSecretBytes()OAuth2 client secret to use for the authentication flow.StringgetOauth2ClientSecretSha256()[Output Only] SHA256 hash value for the field oauth2_client_secret above.com.google.protobuf.ByteStringgetOauth2ClientSecretSha256Bytes()[Output Only] SHA256 hash value for the field oauth2_client_secret above.booleanhasEnabled()Whether the serving infrastructure will authenticate and authorize all incoming requests.booleanhasOauth2ClientId()OAuth2 client ID to use for the authentication flow.booleanhasOauth2ClientSecret()OAuth2 client secret to use for the authentication flow.booleanhasOauth2ClientSecretSha256()[Output Only] SHA256 hash value for the field oauth2_client_secret above.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BackendServiceIAP.BuildermergeFrom(BackendServiceIAP other)BackendServiceIAP.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BackendServiceIAP.BuildermergeFrom(com.google.protobuf.Message other)BackendServiceIAP.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BackendServiceIAP.BuildersetEnabled(boolean value)Whether the serving infrastructure will authenticate and authorize all incoming requests.BackendServiceIAP.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BackendServiceIAP.BuildersetOauth2ClientId(String value)OAuth2 client ID to use for the authentication flow.BackendServiceIAP.BuildersetOauth2ClientIdBytes(com.google.protobuf.ByteString value)OAuth2 client ID to use for the authentication flow.BackendServiceIAP.BuildersetOauth2ClientSecret(String value)OAuth2 client secret to use for the authentication flow.BackendServiceIAP.BuildersetOauth2ClientSecretBytes(com.google.protobuf.ByteString value)OAuth2 client secret to use for the authentication flow.BackendServiceIAP.BuildersetOauth2ClientSecretSha256(String value)[Output Only] SHA256 hash value for the field oauth2_client_secret above.BackendServiceIAP.BuildersetOauth2ClientSecretSha256Bytes(com.google.protobuf.ByteString value)[Output Only] SHA256 hash value for the field oauth2_client_secret above.BackendServiceIAP.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BackendServiceIAP.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
clear
public BackendServiceIAP.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
getDefaultInstanceForType
public BackendServiceIAP getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BackendServiceIAP build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BackendServiceIAP buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BackendServiceIAP.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
setField
public BackendServiceIAP.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
clearField
public BackendServiceIAP.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
clearOneof
public BackendServiceIAP.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
setRepeatedField
public BackendServiceIAP.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
addRepeatedField
public BackendServiceIAP.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
mergeFrom
public BackendServiceIAP.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackendServiceIAP.Builder>
-
mergeFrom
public BackendServiceIAP.Builder mergeFrom(BackendServiceIAP other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
mergeFrom
public BackendServiceIAP.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackendServiceIAP.Builder>- Throws:
IOException
-
hasEnabled
public boolean hasEnabled()
Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.
optional bool enabled = 1018689;- Specified by:
hasEnabledin interfaceBackendServiceIAPOrBuilder- Returns:
- Whether the enabled field is set.
-
getEnabled
public boolean getEnabled()
Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.
optional bool enabled = 1018689;- Specified by:
getEnabledin interfaceBackendServiceIAPOrBuilder- Returns:
- The enabled.
-
setEnabled
public BackendServiceIAP.Builder setEnabled(boolean value)
Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.
optional bool enabled = 1018689;- Parameters:
value- The enabled to set.- Returns:
- This builder for chaining.
-
clearEnabled
public BackendServiceIAP.Builder clearEnabled()
Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.
optional bool enabled = 1018689;- Returns:
- This builder for chaining.
-
hasOauth2ClientId
public boolean hasOauth2ClientId()
OAuth2 client ID to use for the authentication flow.
optional string oauth2_client_id = 314017611;- Specified by:
hasOauth2ClientIdin interfaceBackendServiceIAPOrBuilder- Returns:
- Whether the oauth2ClientId field is set.
-
getOauth2ClientId
public String getOauth2ClientId()
OAuth2 client ID to use for the authentication flow.
optional string oauth2_client_id = 314017611;- Specified by:
getOauth2ClientIdin interfaceBackendServiceIAPOrBuilder- Returns:
- The oauth2ClientId.
-
getOauth2ClientIdBytes
public com.google.protobuf.ByteString getOauth2ClientIdBytes()
OAuth2 client ID to use for the authentication flow.
optional string oauth2_client_id = 314017611;- Specified by:
getOauth2ClientIdBytesin interfaceBackendServiceIAPOrBuilder- Returns:
- The bytes for oauth2ClientId.
-
setOauth2ClientId
public BackendServiceIAP.Builder setOauth2ClientId(String value)
OAuth2 client ID to use for the authentication flow.
optional string oauth2_client_id = 314017611;- Parameters:
value- The oauth2ClientId to set.- Returns:
- This builder for chaining.
-
clearOauth2ClientId
public BackendServiceIAP.Builder clearOauth2ClientId()
OAuth2 client ID to use for the authentication flow.
optional string oauth2_client_id = 314017611;- Returns:
- This builder for chaining.
-
setOauth2ClientIdBytes
public BackendServiceIAP.Builder setOauth2ClientIdBytes(com.google.protobuf.ByteString value)
OAuth2 client ID to use for the authentication flow.
optional string oauth2_client_id = 314017611;- Parameters:
value- The bytes for oauth2ClientId to set.- Returns:
- This builder for chaining.
-
hasOauth2ClientSecret
public boolean hasOauth2ClientSecret()
OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly
optional string oauth2_client_secret = 50999520;- Specified by:
hasOauth2ClientSecretin interfaceBackendServiceIAPOrBuilder- Returns:
- Whether the oauth2ClientSecret field is set.
-
getOauth2ClientSecret
public String getOauth2ClientSecret()
OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly
optional string oauth2_client_secret = 50999520;- Specified by:
getOauth2ClientSecretin interfaceBackendServiceIAPOrBuilder- Returns:
- The oauth2ClientSecret.
-
getOauth2ClientSecretBytes
public com.google.protobuf.ByteString getOauth2ClientSecretBytes()
OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly
optional string oauth2_client_secret = 50999520;- Specified by:
getOauth2ClientSecretBytesin interfaceBackendServiceIAPOrBuilder- Returns:
- The bytes for oauth2ClientSecret.
-
setOauth2ClientSecret
public BackendServiceIAP.Builder setOauth2ClientSecret(String value)
OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly
optional string oauth2_client_secret = 50999520;- Parameters:
value- The oauth2ClientSecret to set.- Returns:
- This builder for chaining.
-
clearOauth2ClientSecret
public BackendServiceIAP.Builder clearOauth2ClientSecret()
OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly
optional string oauth2_client_secret = 50999520;- Returns:
- This builder for chaining.
-
setOauth2ClientSecretBytes
public BackendServiceIAP.Builder setOauth2ClientSecretBytes(com.google.protobuf.ByteString value)
OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly
optional string oauth2_client_secret = 50999520;- Parameters:
value- The bytes for oauth2ClientSecret to set.- Returns:
- This builder for chaining.
-
hasOauth2ClientSecretSha256
public boolean hasOauth2ClientSecretSha256()
[Output Only] SHA256 hash value for the field oauth2_client_secret above.
optional string oauth2_client_secret_sha256 = 112903782;- Specified by:
hasOauth2ClientSecretSha256in interfaceBackendServiceIAPOrBuilder- Returns:
- Whether the oauth2ClientSecretSha256 field is set.
-
getOauth2ClientSecretSha256
public String getOauth2ClientSecretSha256()
[Output Only] SHA256 hash value for the field oauth2_client_secret above.
optional string oauth2_client_secret_sha256 = 112903782;- Specified by:
getOauth2ClientSecretSha256in interfaceBackendServiceIAPOrBuilder- Returns:
- The oauth2ClientSecretSha256.
-
getOauth2ClientSecretSha256Bytes
public com.google.protobuf.ByteString getOauth2ClientSecretSha256Bytes()
[Output Only] SHA256 hash value for the field oauth2_client_secret above.
optional string oauth2_client_secret_sha256 = 112903782;- Specified by:
getOauth2ClientSecretSha256Bytesin interfaceBackendServiceIAPOrBuilder- Returns:
- The bytes for oauth2ClientSecretSha256.
-
setOauth2ClientSecretSha256
public BackendServiceIAP.Builder setOauth2ClientSecretSha256(String value)
[Output Only] SHA256 hash value for the field oauth2_client_secret above.
optional string oauth2_client_secret_sha256 = 112903782;- Parameters:
value- The oauth2ClientSecretSha256 to set.- Returns:
- This builder for chaining.
-
clearOauth2ClientSecretSha256
public BackendServiceIAP.Builder clearOauth2ClientSecretSha256()
[Output Only] SHA256 hash value for the field oauth2_client_secret above.
optional string oauth2_client_secret_sha256 = 112903782;- Returns:
- This builder for chaining.
-
setOauth2ClientSecretSha256Bytes
public BackendServiceIAP.Builder setOauth2ClientSecretSha256Bytes(com.google.protobuf.ByteString value)
[Output Only] SHA256 hash value for the field oauth2_client_secret above.
optional string oauth2_client_secret_sha256 = 112903782;- Parameters:
value- The bytes for oauth2ClientSecretSha256 to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BackendServiceIAP.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
mergeUnknownFields
public final BackendServiceIAP.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
-