public static final class PushConfig.OidcToken.Builder extends GeneratedMessageV3.Builder<PushConfig.OidcToken.Builder> implements PushConfig.OidcTokenOrBuilder
Contains information needed for generating an
OpenID Connect
token.
Protobuf type google.pubsub.v1.PushConfig.OidcToken
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PushConfig.OidcToken.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PushConfig.OidcToken build()
buildPartial()
public PushConfig.OidcToken buildPartial()
clear()
public PushConfig.OidcToken.Builder clear()
Overrides
clearAudience()
public PushConfig.OidcToken.Builder clearAudience()
Audience to be used when generating OIDC token. The audience claim
identifies the recipients that the JWT is intended for. The audience
value is a single case-sensitive string. Having multiple values (array)
for the audience field is not supported. More info about the OIDC JWT
token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3
Note: if not specified, the Push endpoint URL will be used.
string audience = 2;
clearField(Descriptors.FieldDescriptor field)
public PushConfig.OidcToken.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PushConfig.OidcToken.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearServiceAccountEmail()
public PushConfig.OidcToken.Builder clearServiceAccountEmail()
clone()
public PushConfig.OidcToken.Builder clone()
Overrides
getAudience()
public String getAudience()
Audience to be used when generating OIDC token. The audience claim
identifies the recipients that the JWT is intended for. The audience
value is a single case-sensitive string. Having multiple values (array)
for the audience field is not supported. More info about the OIDC JWT
token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3
Note: if not specified, the Push endpoint URL will be used.
string audience = 2;
Returns |
---|
Type | Description |
String | The audience.
|
getAudienceBytes()
public ByteString getAudienceBytes()
Audience to be used when generating OIDC token. The audience claim
identifies the recipients that the JWT is intended for. The audience
value is a single case-sensitive string. Having multiple values (array)
for the audience field is not supported. More info about the OIDC JWT
token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3
Note: if not specified, the Push endpoint URL will be used.
string audience = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for audience.
|
getDefaultInstanceForType()
public PushConfig.OidcToken getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getServiceAccountEmail()
public String getServiceAccountEmail()
Returns |
---|
Type | Description |
String | The serviceAccountEmail.
|
getServiceAccountEmailBytes()
public ByteString getServiceAccountEmailBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for serviceAccountEmail.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public PushConfig.OidcToken.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PushConfig.OidcToken.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(PushConfig.OidcToken other)
public PushConfig.OidcToken.Builder mergeFrom(PushConfig.OidcToken other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PushConfig.OidcToken.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAudience(String value)
public PushConfig.OidcToken.Builder setAudience(String value)
Audience to be used when generating OIDC token. The audience claim
identifies the recipients that the JWT is intended for. The audience
value is a single case-sensitive string. Having multiple values (array)
for the audience field is not supported. More info about the OIDC JWT
token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3
Note: if not specified, the Push endpoint URL will be used.
string audience = 2;
Parameter |
---|
Name | Description |
value | String
The audience to set.
|
setAudienceBytes(ByteString value)
public PushConfig.OidcToken.Builder setAudienceBytes(ByteString value)
Audience to be used when generating OIDC token. The audience claim
identifies the recipients that the JWT is intended for. The audience
value is a single case-sensitive string. Having multiple values (array)
for the audience field is not supported. More info about the OIDC JWT
token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3
Note: if not specified, the Push endpoint URL will be used.
string audience = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for audience to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public PushConfig.OidcToken.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PushConfig.OidcToken.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setServiceAccountEmail(String value)
public PushConfig.OidcToken.Builder setServiceAccountEmail(String value)
Parameter |
---|
Name | Description |
value | String
The serviceAccountEmail to set.
|
setServiceAccountEmailBytes(ByteString value)
public PushConfig.OidcToken.Builder setServiceAccountEmailBytes(ByteString value)
Parameter |
---|
Name | Description |
value | ByteString
The bytes for serviceAccountEmail to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final PushConfig.OidcToken.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides