Class GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<GrpcService.GoogleGrpc.CallCredentials.StsService.Builder>
-
- io.envoyproxy.envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
,java.lang.Cloneable
- Enclosing class:
- GrpcService.GoogleGrpc.CallCredentials.StsService
public static final class GrpcService.GoogleGrpc.CallCredentials.StsService.Builder extends com.google.protobuf.GeneratedMessage.Builder<GrpcService.GoogleGrpc.CallCredentials.StsService.Builder> implements GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
Security token service configuration that allows Google gRPC to fetch security token from an OAuth 2.0 authorization server. See https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 and https://github.com/grpc/grpc/pull/19587. [#next-free-field: 10]
Protobuf typeenvoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials.StsService
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
actorTokenPath_
private java.lang.Object
actorTokenType_
private java.lang.Object
audience_
private int
bitField0_
private java.lang.Object
requestedTokenType_
private java.lang.Object
resource_
private java.lang.Object
scope_
private java.lang.Object
subjectTokenPath_
private java.lang.Object
subjectTokenType_
private java.lang.Object
tokenExchangeServiceUri_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GrpcService.GoogleGrpc.CallCredentials.StsService
build()
GrpcService.GoogleGrpc.CallCredentials.StsService
buildPartial()
private void
buildPartial0(GrpcService.GoogleGrpc.CallCredentials.StsService result)
GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
clear()
GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
clearActorTokenPath()
The path of actor token, a security token that represents the identity of the acting party.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
clearActorTokenType()
Type of the actor token.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
clearAudience()
Logical name of the target service where the client intends to use the requested security token.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
clearRequestedTokenType()
Type of the requested security token.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
clearResource()
Location of the target service or resource where the client intends to use the requested security token.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
clearScope()
The desired scope of the requested security token in the context of the service or resource where the token will be used.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
clearSubjectTokenPath()
The path of subject token, a security token that represents the identity of the party on behalf of whom the request is being made.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
clearSubjectTokenType()
Type of the subject token.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
clearTokenExchangeServiceUri()
URI of the token exchange service that handles token exchange requests.java.lang.String
getActorTokenPath()
The path of actor token, a security token that represents the identity of the acting party.com.google.protobuf.ByteString
getActorTokenPathBytes()
The path of actor token, a security token that represents the identity of the acting party.java.lang.String
getActorTokenType()
Type of the actor token.com.google.protobuf.ByteString
getActorTokenTypeBytes()
Type of the actor token.java.lang.String
getAudience()
Logical name of the target service where the client intends to use the requested security token.com.google.protobuf.ByteString
getAudienceBytes()
Logical name of the target service where the client intends to use the requested security token.GrpcService.GoogleGrpc.CallCredentials.StsService
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getRequestedTokenType()
Type of the requested security token.com.google.protobuf.ByteString
getRequestedTokenTypeBytes()
Type of the requested security token.java.lang.String
getResource()
Location of the target service or resource where the client intends to use the requested security token.com.google.protobuf.ByteString
getResourceBytes()
Location of the target service or resource where the client intends to use the requested security token.java.lang.String
getScope()
The desired scope of the requested security token in the context of the service or resource where the token will be used.com.google.protobuf.ByteString
getScopeBytes()
The desired scope of the requested security token in the context of the service or resource where the token will be used.java.lang.String
getSubjectTokenPath()
The path of subject token, a security token that represents the identity of the party on behalf of whom the request is being made.com.google.protobuf.ByteString
getSubjectTokenPathBytes()
The path of subject token, a security token that represents the identity of the party on behalf of whom the request is being made.java.lang.String
getSubjectTokenType()
Type of the subject token.com.google.protobuf.ByteString
getSubjectTokenTypeBytes()
Type of the subject token.java.lang.String
getTokenExchangeServiceUri()
URI of the token exchange service that handles token exchange requests.com.google.protobuf.ByteString
getTokenExchangeServiceUriBytes()
URI of the token exchange service that handles token exchange requests.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
mergeFrom(com.google.protobuf.Message other)
GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
mergeFrom(GrpcService.GoogleGrpc.CallCredentials.StsService other)
GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setActorTokenPath(java.lang.String value)
The path of actor token, a security token that represents the identity of the acting party.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setActorTokenPathBytes(com.google.protobuf.ByteString value)
The path of actor token, a security token that represents the identity of the acting party.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setActorTokenType(java.lang.String value)
Type of the actor token.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setActorTokenTypeBytes(com.google.protobuf.ByteString value)
Type of the actor token.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setAudience(java.lang.String value)
Logical name of the target service where the client intends to use the requested security token.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setAudienceBytes(com.google.protobuf.ByteString value)
Logical name of the target service where the client intends to use the requested security token.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setRequestedTokenType(java.lang.String value)
Type of the requested security token.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setRequestedTokenTypeBytes(com.google.protobuf.ByteString value)
Type of the requested security token.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setResource(java.lang.String value)
Location of the target service or resource where the client intends to use the requested security token.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setResourceBytes(com.google.protobuf.ByteString value)
Location of the target service or resource where the client intends to use the requested security token.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setScope(java.lang.String value)
The desired scope of the requested security token in the context of the service or resource where the token will be used.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setScopeBytes(com.google.protobuf.ByteString value)
The desired scope of the requested security token in the context of the service or resource where the token will be used.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setSubjectTokenPath(java.lang.String value)
The path of subject token, a security token that represents the identity of the party on behalf of whom the request is being made.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setSubjectTokenPathBytes(com.google.protobuf.ByteString value)
The path of subject token, a security token that represents the identity of the party on behalf of whom the request is being made.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setSubjectTokenType(java.lang.String value)
Type of the subject token.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setSubjectTokenTypeBytes(com.google.protobuf.ByteString value)
Type of the subject token.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setTokenExchangeServiceUri(java.lang.String value)
URI of the token exchange service that handles token exchange requests.GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
setTokenExchangeServiceUriBytes(com.google.protobuf.ByteString value)
URI of the token exchange service that handles token exchange requests.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
tokenExchangeServiceUri_
private java.lang.Object tokenExchangeServiceUri_
-
resource_
private java.lang.Object resource_
-
audience_
private java.lang.Object audience_
-
scope_
private java.lang.Object scope_
-
requestedTokenType_
private java.lang.Object requestedTokenType_
-
subjectTokenPath_
private java.lang.Object subjectTokenPath_
-
subjectTokenType_
private java.lang.Object subjectTokenType_
-
actorTokenPath_
private java.lang.Object actorTokenPath_
-
actorTokenType_
private java.lang.Object actorTokenType_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<GrpcService.GoogleGrpc.CallCredentials.StsService.Builder>
-
clear
public GrpcService.GoogleGrpc.CallCredentials.StsService.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.GeneratedMessage.Builder<GrpcService.GoogleGrpc.CallCredentials.StsService.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.GeneratedMessage.Builder<GrpcService.GoogleGrpc.CallCredentials.StsService.Builder>
-
getDefaultInstanceForType
public GrpcService.GoogleGrpc.CallCredentials.StsService getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GrpcService.GoogleGrpc.CallCredentials.StsService build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GrpcService.GoogleGrpc.CallCredentials.StsService buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(GrpcService.GoogleGrpc.CallCredentials.StsService result)
-
mergeFrom
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GrpcService.GoogleGrpc.CallCredentials.StsService.Builder>
-
mergeFrom
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder mergeFrom(GrpcService.GoogleGrpc.CallCredentials.StsService other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<GrpcService.GoogleGrpc.CallCredentials.StsService.Builder>
-
mergeFrom
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<GrpcService.GoogleGrpc.CallCredentials.StsService.Builder>
- Throws:
java.io.IOException
-
getTokenExchangeServiceUri
public java.lang.String getTokenExchangeServiceUri()
URI of the token exchange service that handles token exchange requests. [#comment:TODO(asraa): Add URI validation when implemented. Tracked by https://github.com/bufbuild/protoc-gen-validate/issues/303]
string token_exchange_service_uri = 1;
- Specified by:
getTokenExchangeServiceUri
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The tokenExchangeServiceUri.
-
getTokenExchangeServiceUriBytes
public com.google.protobuf.ByteString getTokenExchangeServiceUriBytes()
URI of the token exchange service that handles token exchange requests. [#comment:TODO(asraa): Add URI validation when implemented. Tracked by https://github.com/bufbuild/protoc-gen-validate/issues/303]
string token_exchange_service_uri = 1;
- Specified by:
getTokenExchangeServiceUriBytes
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The bytes for tokenExchangeServiceUri.
-
setTokenExchangeServiceUri
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setTokenExchangeServiceUri(java.lang.String value)
URI of the token exchange service that handles token exchange requests. [#comment:TODO(asraa): Add URI validation when implemented. Tracked by https://github.com/bufbuild/protoc-gen-validate/issues/303]
string token_exchange_service_uri = 1;
- Parameters:
value
- The tokenExchangeServiceUri to set.- Returns:
- This builder for chaining.
-
clearTokenExchangeServiceUri
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder clearTokenExchangeServiceUri()
URI of the token exchange service that handles token exchange requests. [#comment:TODO(asraa): Add URI validation when implemented. Tracked by https://github.com/bufbuild/protoc-gen-validate/issues/303]
string token_exchange_service_uri = 1;
- Returns:
- This builder for chaining.
-
setTokenExchangeServiceUriBytes
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setTokenExchangeServiceUriBytes(com.google.protobuf.ByteString value)
URI of the token exchange service that handles token exchange requests. [#comment:TODO(asraa): Add URI validation when implemented. Tracked by https://github.com/bufbuild/protoc-gen-validate/issues/303]
string token_exchange_service_uri = 1;
- Parameters:
value
- The bytes for tokenExchangeServiceUri to set.- Returns:
- This builder for chaining.
-
getResource
public java.lang.String getResource()
Location of the target service or resource where the client intends to use the requested security token.
string resource = 2;
- Specified by:
getResource
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The resource.
-
getResourceBytes
public com.google.protobuf.ByteString getResourceBytes()
Location of the target service or resource where the client intends to use the requested security token.
string resource = 2;
- Specified by:
getResourceBytes
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The bytes for resource.
-
setResource
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setResource(java.lang.String value)
Location of the target service or resource where the client intends to use the requested security token.
string resource = 2;
- Parameters:
value
- The resource to set.- Returns:
- This builder for chaining.
-
clearResource
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder clearResource()
Location of the target service or resource where the client intends to use the requested security token.
string resource = 2;
- Returns:
- This builder for chaining.
-
setResourceBytes
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setResourceBytes(com.google.protobuf.ByteString value)
Location of the target service or resource where the client intends to use the requested security token.
string resource = 2;
- Parameters:
value
- The bytes for resource to set.- Returns:
- This builder for chaining.
-
getAudience
public java.lang.String getAudience()
Logical name of the target service where the client intends to use the requested security token.
string audience = 3;
- Specified by:
getAudience
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The audience.
-
getAudienceBytes
public com.google.protobuf.ByteString getAudienceBytes()
Logical name of the target service where the client intends to use the requested security token.
string audience = 3;
- Specified by:
getAudienceBytes
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The bytes for audience.
-
setAudience
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setAudience(java.lang.String value)
Logical name of the target service where the client intends to use the requested security token.
string audience = 3;
- Parameters:
value
- The audience to set.- Returns:
- This builder for chaining.
-
clearAudience
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder clearAudience()
Logical name of the target service where the client intends to use the requested security token.
string audience = 3;
- Returns:
- This builder for chaining.
-
setAudienceBytes
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setAudienceBytes(com.google.protobuf.ByteString value)
Logical name of the target service where the client intends to use the requested security token.
string audience = 3;
- Parameters:
value
- The bytes for audience to set.- Returns:
- This builder for chaining.
-
getScope
public java.lang.String getScope()
The desired scope of the requested security token in the context of the service or resource where the token will be used.
string scope = 4;
- Specified by:
getScope
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The scope.
-
getScopeBytes
public com.google.protobuf.ByteString getScopeBytes()
The desired scope of the requested security token in the context of the service or resource where the token will be used.
string scope = 4;
- Specified by:
getScopeBytes
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The bytes for scope.
-
setScope
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setScope(java.lang.String value)
The desired scope of the requested security token in the context of the service or resource where the token will be used.
string scope = 4;
- Parameters:
value
- The scope to set.- Returns:
- This builder for chaining.
-
clearScope
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder clearScope()
The desired scope of the requested security token in the context of the service or resource where the token will be used.
string scope = 4;
- Returns:
- This builder for chaining.
-
setScopeBytes
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setScopeBytes(com.google.protobuf.ByteString value)
The desired scope of the requested security token in the context of the service or resource where the token will be used.
string scope = 4;
- Parameters:
value
- The bytes for scope to set.- Returns:
- This builder for chaining.
-
getRequestedTokenType
public java.lang.String getRequestedTokenType()
Type of the requested security token.
string requested_token_type = 5;
- Specified by:
getRequestedTokenType
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The requestedTokenType.
-
getRequestedTokenTypeBytes
public com.google.protobuf.ByteString getRequestedTokenTypeBytes()
Type of the requested security token.
string requested_token_type = 5;
- Specified by:
getRequestedTokenTypeBytes
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The bytes for requestedTokenType.
-
setRequestedTokenType
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setRequestedTokenType(java.lang.String value)
Type of the requested security token.
string requested_token_type = 5;
- Parameters:
value
- The requestedTokenType to set.- Returns:
- This builder for chaining.
-
clearRequestedTokenType
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder clearRequestedTokenType()
Type of the requested security token.
string requested_token_type = 5;
- Returns:
- This builder for chaining.
-
setRequestedTokenTypeBytes
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setRequestedTokenTypeBytes(com.google.protobuf.ByteString value)
Type of the requested security token.
string requested_token_type = 5;
- Parameters:
value
- The bytes for requestedTokenType to set.- Returns:
- This builder for chaining.
-
getSubjectTokenPath
public java.lang.String getSubjectTokenPath()
The path of subject token, a security token that represents the identity of the party on behalf of whom the request is being made.
string subject_token_path = 6 [(.validate.rules) = { ... }
- Specified by:
getSubjectTokenPath
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The subjectTokenPath.
-
getSubjectTokenPathBytes
public com.google.protobuf.ByteString getSubjectTokenPathBytes()
The path of subject token, a security token that represents the identity of the party on behalf of whom the request is being made.
string subject_token_path = 6 [(.validate.rules) = { ... }
- Specified by:
getSubjectTokenPathBytes
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The bytes for subjectTokenPath.
-
setSubjectTokenPath
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setSubjectTokenPath(java.lang.String value)
The path of subject token, a security token that represents the identity of the party on behalf of whom the request is being made.
string subject_token_path = 6 [(.validate.rules) = { ... }
- Parameters:
value
- The subjectTokenPath to set.- Returns:
- This builder for chaining.
-
clearSubjectTokenPath
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder clearSubjectTokenPath()
The path of subject token, a security token that represents the identity of the party on behalf of whom the request is being made.
string subject_token_path = 6 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setSubjectTokenPathBytes
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setSubjectTokenPathBytes(com.google.protobuf.ByteString value)
The path of subject token, a security token that represents the identity of the party on behalf of whom the request is being made.
string subject_token_path = 6 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes for subjectTokenPath to set.- Returns:
- This builder for chaining.
-
getSubjectTokenType
public java.lang.String getSubjectTokenType()
Type of the subject token.
string subject_token_type = 7 [(.validate.rules) = { ... }
- Specified by:
getSubjectTokenType
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The subjectTokenType.
-
getSubjectTokenTypeBytes
public com.google.protobuf.ByteString getSubjectTokenTypeBytes()
Type of the subject token.
string subject_token_type = 7 [(.validate.rules) = { ... }
- Specified by:
getSubjectTokenTypeBytes
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The bytes for subjectTokenType.
-
setSubjectTokenType
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setSubjectTokenType(java.lang.String value)
Type of the subject token.
string subject_token_type = 7 [(.validate.rules) = { ... }
- Parameters:
value
- The subjectTokenType to set.- Returns:
- This builder for chaining.
-
clearSubjectTokenType
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder clearSubjectTokenType()
Type of the subject token.
string subject_token_type = 7 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setSubjectTokenTypeBytes
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setSubjectTokenTypeBytes(com.google.protobuf.ByteString value)
Type of the subject token.
string subject_token_type = 7 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes for subjectTokenType to set.- Returns:
- This builder for chaining.
-
getActorTokenPath
public java.lang.String getActorTokenPath()
The path of actor token, a security token that represents the identity of the acting party. The acting party is authorized to use the requested security token and act on behalf of the subject.
string actor_token_path = 8;
- Specified by:
getActorTokenPath
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The actorTokenPath.
-
getActorTokenPathBytes
public com.google.protobuf.ByteString getActorTokenPathBytes()
The path of actor token, a security token that represents the identity of the acting party. The acting party is authorized to use the requested security token and act on behalf of the subject.
string actor_token_path = 8;
- Specified by:
getActorTokenPathBytes
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The bytes for actorTokenPath.
-
setActorTokenPath
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setActorTokenPath(java.lang.String value)
The path of actor token, a security token that represents the identity of the acting party. The acting party is authorized to use the requested security token and act on behalf of the subject.
string actor_token_path = 8;
- Parameters:
value
- The actorTokenPath to set.- Returns:
- This builder for chaining.
-
clearActorTokenPath
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder clearActorTokenPath()
The path of actor token, a security token that represents the identity of the acting party. The acting party is authorized to use the requested security token and act on behalf of the subject.
string actor_token_path = 8;
- Returns:
- This builder for chaining.
-
setActorTokenPathBytes
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setActorTokenPathBytes(com.google.protobuf.ByteString value)
The path of actor token, a security token that represents the identity of the acting party. The acting party is authorized to use the requested security token and act on behalf of the subject.
string actor_token_path = 8;
- Parameters:
value
- The bytes for actorTokenPath to set.- Returns:
- This builder for chaining.
-
getActorTokenType
public java.lang.String getActorTokenType()
Type of the actor token.
string actor_token_type = 9;
- Specified by:
getActorTokenType
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The actorTokenType.
-
getActorTokenTypeBytes
public com.google.protobuf.ByteString getActorTokenTypeBytes()
Type of the actor token.
string actor_token_type = 9;
- Specified by:
getActorTokenTypeBytes
in interfaceGrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
- Returns:
- The bytes for actorTokenType.
-
setActorTokenType
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setActorTokenType(java.lang.String value)
Type of the actor token.
string actor_token_type = 9;
- Parameters:
value
- The actorTokenType to set.- Returns:
- This builder for chaining.
-
clearActorTokenType
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder clearActorTokenType()
Type of the actor token.
string actor_token_type = 9;
- Returns:
- This builder for chaining.
-
setActorTokenTypeBytes
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder setActorTokenTypeBytes(com.google.protobuf.ByteString value)
Type of the actor token.
string actor_token_type = 9;
- Parameters:
value
- The bytes for actorTokenType to set.- Returns:
- This builder for chaining.
-
-