Package com.google.appengine.v1
Class Application.IdentityAwareProxy.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Application.IdentityAwareProxy.Builder>
-
- com.google.appengine.v1.Application.IdentityAwareProxy.Builder
-
- All Implemented Interfaces:
Application.IdentityAwareProxyOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Application.IdentityAwareProxy
public static final class Application.IdentityAwareProxy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Application.IdentityAwareProxy.Builder> implements Application.IdentityAwareProxyOrBuilder
Identity-Aware Proxy
Protobuf typegoogle.appengine.v1.Application.IdentityAwareProxy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Application.IdentityAwareProxy.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Application.IdentityAwareProxy
build()
Application.IdentityAwareProxy
buildPartial()
Application.IdentityAwareProxy.Builder
clear()
Application.IdentityAwareProxy.Builder
clearEnabled()
Whether the serving infrastructure will authenticate and authorize all incoming requests.Application.IdentityAwareProxy.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Application.IdentityAwareProxy.Builder
clearOauth2ClientId()
OAuth2 client ID to use for the authentication flow.Application.IdentityAwareProxy.Builder
clearOauth2ClientSecret()
OAuth2 client secret to use for the authentication flow.Application.IdentityAwareProxy.Builder
clearOauth2ClientSecretSha256()
Hex-encoded SHA-256 hash of the client secret.Application.IdentityAwareProxy.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Application.IdentityAwareProxy.Builder
clone()
Application.IdentityAwareProxy
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()
Hex-encoded SHA-256 hash of the client secret.com.google.protobuf.ByteString
getOauth2ClientSecretSha256Bytes()
Hex-encoded SHA-256 hash of the client secret.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Application.IdentityAwareProxy.Builder
mergeFrom(Application.IdentityAwareProxy other)
Application.IdentityAwareProxy.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Application.IdentityAwareProxy.Builder
mergeFrom(com.google.protobuf.Message other)
Application.IdentityAwareProxy.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Application.IdentityAwareProxy.Builder
setEnabled(boolean value)
Whether the serving infrastructure will authenticate and authorize all incoming requests.Application.IdentityAwareProxy.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Application.IdentityAwareProxy.Builder
setOauth2ClientId(String value)
OAuth2 client ID to use for the authentication flow.Application.IdentityAwareProxy.Builder
setOauth2ClientIdBytes(com.google.protobuf.ByteString value)
OAuth2 client ID to use for the authentication flow.Application.IdentityAwareProxy.Builder
setOauth2ClientSecret(String value)
OAuth2 client secret to use for the authentication flow.Application.IdentityAwareProxy.Builder
setOauth2ClientSecretBytes(com.google.protobuf.ByteString value)
OAuth2 client secret to use for the authentication flow.Application.IdentityAwareProxy.Builder
setOauth2ClientSecretSha256(String value)
Hex-encoded SHA-256 hash of the client secret.Application.IdentityAwareProxy.Builder
setOauth2ClientSecretSha256Bytes(com.google.protobuf.ByteString value)
Hex-encoded SHA-256 hash of the client secret.Application.IdentityAwareProxy.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.Builder>
-
clear
public Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.Builder>
-
getDefaultInstanceForType
public Application.IdentityAwareProxy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Application.IdentityAwareProxy build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Application.IdentityAwareProxy buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.Builder>
-
setField
public Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.Builder>
-
clearField
public Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.Builder>
-
clearOneof
public Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.Builder>
-
setRepeatedField
public Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.Builder>
-
addRepeatedField
public Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.Builder>
-
mergeFrom
public Application.IdentityAwareProxy.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Application.IdentityAwareProxy.Builder>
-
mergeFrom
public Application.IdentityAwareProxy.Builder mergeFrom(Application.IdentityAwareProxy other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Application.IdentityAwareProxy.Builder>
-
mergeFrom
public Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.Builder>
- Throws:
IOException
-
getEnabled
public boolean getEnabled()
Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the `oauth2_client_id` and `oauth2_client_secret` fields must be non-empty.
bool enabled = 1;
- Specified by:
getEnabled
in interfaceApplication.IdentityAwareProxyOrBuilder
- Returns:
- The enabled.
-
setEnabled
public Application.IdentityAwareProxy.Builder setEnabled(boolean value)
Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the `oauth2_client_id` and `oauth2_client_secret` fields must be non-empty.
bool enabled = 1;
- Parameters:
value
- The enabled to set.- Returns:
- This builder for chaining.
-
clearEnabled
public Application.IdentityAwareProxy.Builder clearEnabled()
Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the `oauth2_client_id` and `oauth2_client_secret` fields must be non-empty.
bool enabled = 1;
- Returns:
- This builder for chaining.
-
getOauth2ClientId
public String getOauth2ClientId()
OAuth2 client ID to use for the authentication flow.
string oauth2_client_id = 2;
- Specified by:
getOauth2ClientId
in interfaceApplication.IdentityAwareProxyOrBuilder
- Returns:
- The oauth2ClientId.
-
getOauth2ClientIdBytes
public com.google.protobuf.ByteString getOauth2ClientIdBytes()
OAuth2 client ID to use for the authentication flow.
string oauth2_client_id = 2;
- Specified by:
getOauth2ClientIdBytes
in interfaceApplication.IdentityAwareProxyOrBuilder
- Returns:
- The bytes for oauth2ClientId.
-
setOauth2ClientId
public Application.IdentityAwareProxy.Builder setOauth2ClientId(String value)
OAuth2 client ID to use for the authentication flow.
string oauth2_client_id = 2;
- Parameters:
value
- The oauth2ClientId to set.- Returns:
- This builder for chaining.
-
clearOauth2ClientId
public Application.IdentityAwareProxy.Builder clearOauth2ClientId()
OAuth2 client ID to use for the authentication flow.
string oauth2_client_id = 2;
- Returns:
- This builder for chaining.
-
setOauth2ClientIdBytes
public Application.IdentityAwareProxy.Builder setOauth2ClientIdBytes(com.google.protobuf.ByteString value)
OAuth2 client ID to use for the authentication flow.
string oauth2_client_id = 2;
- Parameters:
value
- The bytes for oauth2ClientId to set.- Returns:
- This builder for chaining.
-
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 `oauth2_client_secret_sha256` field. @InputOnly
string oauth2_client_secret = 3;
- Specified by:
getOauth2ClientSecret
in interfaceApplication.IdentityAwareProxyOrBuilder
- 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 `oauth2_client_secret_sha256` field. @InputOnly
string oauth2_client_secret = 3;
- Specified by:
getOauth2ClientSecretBytes
in interfaceApplication.IdentityAwareProxyOrBuilder
- Returns:
- The bytes for oauth2ClientSecret.
-
setOauth2ClientSecret
public Application.IdentityAwareProxy.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 `oauth2_client_secret_sha256` field. @InputOnly
string oauth2_client_secret = 3;
- Parameters:
value
- The oauth2ClientSecret to set.- Returns:
- This builder for chaining.
-
clearOauth2ClientSecret
public Application.IdentityAwareProxy.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 `oauth2_client_secret_sha256` field. @InputOnly
string oauth2_client_secret = 3;
- Returns:
- This builder for chaining.
-
setOauth2ClientSecretBytes
public Application.IdentityAwareProxy.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 `oauth2_client_secret_sha256` field. @InputOnly
string oauth2_client_secret = 3;
- Parameters:
value
- The bytes for oauth2ClientSecret to set.- Returns:
- This builder for chaining.
-
getOauth2ClientSecretSha256
public String getOauth2ClientSecretSha256()
Hex-encoded SHA-256 hash of the client secret. @OutputOnly
string oauth2_client_secret_sha256 = 4;
- Specified by:
getOauth2ClientSecretSha256
in interfaceApplication.IdentityAwareProxyOrBuilder
- Returns:
- The oauth2ClientSecretSha256.
-
getOauth2ClientSecretSha256Bytes
public com.google.protobuf.ByteString getOauth2ClientSecretSha256Bytes()
Hex-encoded SHA-256 hash of the client secret. @OutputOnly
string oauth2_client_secret_sha256 = 4;
- Specified by:
getOauth2ClientSecretSha256Bytes
in interfaceApplication.IdentityAwareProxyOrBuilder
- Returns:
- The bytes for oauth2ClientSecretSha256.
-
setOauth2ClientSecretSha256
public Application.IdentityAwareProxy.Builder setOauth2ClientSecretSha256(String value)
Hex-encoded SHA-256 hash of the client secret. @OutputOnly
string oauth2_client_secret_sha256 = 4;
- Parameters:
value
- The oauth2ClientSecretSha256 to set.- Returns:
- This builder for chaining.
-
clearOauth2ClientSecretSha256
public Application.IdentityAwareProxy.Builder clearOauth2ClientSecretSha256()
Hex-encoded SHA-256 hash of the client secret. @OutputOnly
string oauth2_client_secret_sha256 = 4;
- Returns:
- This builder for chaining.
-
setOauth2ClientSecretSha256Bytes
public Application.IdentityAwareProxy.Builder setOauth2ClientSecretSha256Bytes(com.google.protobuf.ByteString value)
Hex-encoded SHA-256 hash of the client secret. @OutputOnly
string oauth2_client_secret_sha256 = 4;
- Parameters:
value
- The bytes for oauth2ClientSecretSha256 to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Application.IdentityAwareProxy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Application.IdentityAwareProxy.Builder>
-
mergeUnknownFields
public final Application.IdentityAwareProxy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Application.IdentityAwareProxy.Builder>
-
-