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()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
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()
Optional. Service account
email
used for generating the OIDC token. For more information
on setting up authentication, see
Push subscriptions.
string service_account_email = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public PushConfig.OidcToken.Builder clone()
Overrides
getAudience()
public String getAudience()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The audience.
|
getAudienceBytes()
public ByteString getAudienceBytes()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for audience.
|
getDefaultInstanceForType()
public PushConfig.OidcToken getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getServiceAccountEmail()
public String getServiceAccountEmail()
Optional. Service account
email
used for generating the OIDC token. For more information
on setting up authentication, see
Push subscriptions.
string service_account_email = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The serviceAccountEmail.
|
getServiceAccountEmailBytes()
public ByteString getServiceAccountEmailBytes()
Optional. Service account
email
used for generating the OIDC token. For more information
on setting up authentication, see
Push subscriptions.
string service_account_email = 1 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The audience to set.
|
setAudienceBytes(ByteString value)
public PushConfig.OidcToken.Builder setAudienceBytes(ByteString value)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. Service account
email
used for generating the OIDC token. For more information
on setting up authentication, see
Push subscriptions.
string service_account_email = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The serviceAccountEmail to set.
|
setServiceAccountEmailBytes(ByteString value)
public PushConfig.OidcToken.Builder setServiceAccountEmailBytes(ByteString value)
Optional. Service account
email
used for generating the OIDC token. For more information
on setting up authentication, see
Push subscriptions.
string service_account_email = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for serviceAccountEmail to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final PushConfig.OidcToken.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides