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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Application.IdentityAwareProxybuild()Application.IdentityAwareProxybuildPartial()Application.IdentityAwareProxy.Builderclear()Application.IdentityAwareProxy.BuilderclearEnabled()Whether the serving infrastructure will authenticate and authorize all incoming requests.Application.IdentityAwareProxy.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Application.IdentityAwareProxy.BuilderclearOauth2ClientId()OAuth2 client ID to use for the authentication flow.Application.IdentityAwareProxy.BuilderclearOauth2ClientSecret()OAuth2 client secret to use for the authentication flow.Application.IdentityAwareProxy.BuilderclearOauth2ClientSecretSha256()Hex-encoded SHA-256 hash of the client secret.Application.IdentityAwareProxy.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Application.IdentityAwareProxy.Builderclone()Application.IdentityAwareProxygetDefaultInstanceForType()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()Hex-encoded SHA-256 hash of the client secret.com.google.protobuf.ByteStringgetOauth2ClientSecretSha256Bytes()Hex-encoded SHA-256 hash of the client secret.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Application.IdentityAwareProxy.BuildermergeFrom(Application.IdentityAwareProxy other)Application.IdentityAwareProxy.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Application.IdentityAwareProxy.BuildermergeFrom(com.google.protobuf.Message other)Application.IdentityAwareProxy.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Application.IdentityAwareProxy.BuildersetEnabled(boolean value)Whether the serving infrastructure will authenticate and authorize all incoming requests.Application.IdentityAwareProxy.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Application.IdentityAwareProxy.BuildersetOauth2ClientId(String value)OAuth2 client ID to use for the authentication flow.Application.IdentityAwareProxy.BuildersetOauth2ClientIdBytes(com.google.protobuf.ByteString value)OAuth2 client ID to use for the authentication flow.Application.IdentityAwareProxy.BuildersetOauth2ClientSecret(String value)OAuth2 client secret to use for the authentication flow.Application.IdentityAwareProxy.BuildersetOauth2ClientSecretBytes(com.google.protobuf.ByteString value)OAuth2 client secret to use for the authentication flow.Application.IdentityAwareProxy.BuildersetOauth2ClientSecretSha256(String value)Hex-encoded SHA-256 hash of the client secret.Application.IdentityAwareProxy.BuildersetOauth2ClientSecretSha256Bytes(com.google.protobuf.ByteString value)Hex-encoded SHA-256 hash of the client secret.Application.IdentityAwareProxy.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.Builder>
-
clear
public Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.Builder>
-
getDefaultInstanceForType
public Application.IdentityAwareProxy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Application.IdentityAwareProxy build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Application.IdentityAwareProxy buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.Builder>
-
setField
public Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.Builder>
-
clearField
public Application.IdentityAwareProxy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Application.IdentityAwareProxy.Builder>
-
clearOneof
public Application.IdentityAwareProxy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Application.IdentityAwareProxy.Builder>
-
addRepeatedField
public Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.Builder>
-
mergeFrom
public Application.IdentityAwareProxy.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Application.IdentityAwareProxy.Builder>
-
mergeFrom
public Application.IdentityAwareProxy.Builder mergeFrom(Application.IdentityAwareProxy other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getEnabledin 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:
getOauth2ClientIdin 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:
getOauth2ClientIdBytesin 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:
getOauth2ClientSecretin 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:
getOauth2ClientSecretBytesin 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:
getOauth2ClientSecretSha256in 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:
getOauth2ClientSecretSha256Bytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Application.IdentityAwareProxy.Builder>
-
mergeUnknownFields
public final Application.IdentityAwareProxy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Application.IdentityAwareProxy.Builder>
-
-