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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BackendServiceIAP
build()
BackendServiceIAP
buildPartial()
BackendServiceIAP.Builder
clear()
BackendServiceIAP.Builder
clearEnabled()
Whether the serving infrastructure will authenticate and authorize all incoming requests.BackendServiceIAP.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BackendServiceIAP.Builder
clearOauth2ClientId()
OAuth2 client ID to use for the authentication flow.BackendServiceIAP.Builder
clearOauth2ClientSecret()
OAuth2 client secret to use for the authentication flow.BackendServiceIAP.Builder
clearOauth2ClientSecretSha256()
[Output Only] SHA256 hash value for the field oauth2_client_secret above.BackendServiceIAP.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BackendServiceIAP.Builder
clone()
BackendServiceIAP
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getEnabled()
Whether the serving infrastructure will authenticate and authorize all incoming requests.String
getOauth2ClientId()
OAuth2 client ID to use for the authentication flow.com.google.protobuf.ByteString
getOauth2ClientIdBytes()
OAuth2 client ID to use for the authentication flow.String
getOauth2ClientSecret()
OAuth2 client secret to use for the authentication flow.com.google.protobuf.ByteString
getOauth2ClientSecretBytes()
OAuth2 client secret to use for the authentication flow.String
getOauth2ClientSecretSha256()
[Output Only] SHA256 hash value for the field oauth2_client_secret above.com.google.protobuf.ByteString
getOauth2ClientSecretSha256Bytes()
[Output Only] SHA256 hash value for the field oauth2_client_secret above.boolean
hasEnabled()
Whether the serving infrastructure will authenticate and authorize all incoming requests.boolean
hasOauth2ClientId()
OAuth2 client ID to use for the authentication flow.boolean
hasOauth2ClientSecret()
OAuth2 client secret to use for the authentication flow.boolean
hasOauth2ClientSecretSha256()
[Output Only] SHA256 hash value for the field oauth2_client_secret above.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BackendServiceIAP.Builder
mergeFrom(BackendServiceIAP other)
BackendServiceIAP.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BackendServiceIAP.Builder
mergeFrom(com.google.protobuf.Message other)
BackendServiceIAP.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BackendServiceIAP.Builder
setEnabled(boolean value)
Whether the serving infrastructure will authenticate and authorize all incoming requests.BackendServiceIAP.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BackendServiceIAP.Builder
setOauth2ClientId(String value)
OAuth2 client ID to use for the authentication flow.BackendServiceIAP.Builder
setOauth2ClientIdBytes(com.google.protobuf.ByteString value)
OAuth2 client ID to use for the authentication flow.BackendServiceIAP.Builder
setOauth2ClientSecret(String value)
OAuth2 client secret to use for the authentication flow.BackendServiceIAP.Builder
setOauth2ClientSecretBytes(com.google.protobuf.ByteString value)
OAuth2 client secret to use for the authentication flow.BackendServiceIAP.Builder
setOauth2ClientSecretSha256(String value)
[Output Only] SHA256 hash value for the field oauth2_client_secret above.BackendServiceIAP.Builder
setOauth2ClientSecretSha256Bytes(com.google.protobuf.ByteString value)
[Output Only] SHA256 hash value for the field oauth2_client_secret above.BackendServiceIAP.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
BackendServiceIAP.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
clear
public BackendServiceIAP.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
getDefaultInstanceForType
public BackendServiceIAP getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BackendServiceIAP build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BackendServiceIAP buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BackendServiceIAP.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
setField
public BackendServiceIAP.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
clearField
public BackendServiceIAP.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
clearOneof
public BackendServiceIAP.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
setRepeatedField
public BackendServiceIAP.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
addRepeatedField
public BackendServiceIAP.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
mergeFrom
public BackendServiceIAP.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BackendServiceIAP.Builder>
-
mergeFrom
public BackendServiceIAP.Builder mergeFrom(BackendServiceIAP other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasEnabled
in 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:
getEnabled
in 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:
hasOauth2ClientId
in 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:
getOauth2ClientId
in 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:
getOauth2ClientIdBytes
in 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:
hasOauth2ClientSecret
in 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:
getOauth2ClientSecret
in 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:
getOauth2ClientSecretBytes
in 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:
hasOauth2ClientSecretSha256
in 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:
getOauth2ClientSecretSha256
in 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:
getOauth2ClientSecretSha256Bytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
mergeUnknownFields
public final BackendServiceIAP.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackendServiceIAP.Builder>
-
-