public static final class PushConfig.OidcToken.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PushConfig.OidcToken.Builder> implements PushConfig.OidcTokenOrBuilder
Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect).Protobuf type
google.pubsub.v1.PushConfig.OidcToken
Modifier and Type | Method and Description |
---|---|
PushConfig.OidcToken.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PushConfig.OidcToken |
build() |
PushConfig.OidcToken |
buildPartial() |
PushConfig.OidcToken.Builder |
clear() |
PushConfig.OidcToken.Builder |
clearAudience()
Audience to be used when generating OIDC token.
|
PushConfig.OidcToken.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PushConfig.OidcToken.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PushConfig.OidcToken.Builder |
clearServiceAccountEmail()
[Service account
email](https://cloud.google.com/iam/docs/service-accounts)
used for generating the OIDC token.
|
PushConfig.OidcToken.Builder |
clone() |
String |
getAudience()
Audience to be used when generating OIDC token.
|
com.google.protobuf.ByteString |
getAudienceBytes()
Audience to be used when generating OIDC token.
|
PushConfig.OidcToken |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getServiceAccountEmail()
[Service account
email](https://cloud.google.com/iam/docs/service-accounts)
used for generating the OIDC token.
|
com.google.protobuf.ByteString |
getServiceAccountEmailBytes()
[Service account
email](https://cloud.google.com/iam/docs/service-accounts)
used for generating the OIDC token.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PushConfig.OidcToken.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PushConfig.OidcToken.Builder |
mergeFrom(com.google.protobuf.Message other) |
PushConfig.OidcToken.Builder |
mergeFrom(PushConfig.OidcToken other) |
PushConfig.OidcToken.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PushConfig.OidcToken.Builder |
setAudience(String value)
Audience to be used when generating OIDC token.
|
PushConfig.OidcToken.Builder |
setAudienceBytes(com.google.protobuf.ByteString value)
Audience to be used when generating OIDC token.
|
PushConfig.OidcToken.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PushConfig.OidcToken.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PushConfig.OidcToken.Builder |
setServiceAccountEmail(String value)
[Service account
email](https://cloud.google.com/iam/docs/service-accounts)
used for generating the OIDC token.
|
PushConfig.OidcToken.Builder |
setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
[Service account
email](https://cloud.google.com/iam/docs/service-accounts)
used for generating the OIDC token.
|
PushConfig.OidcToken.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<PushConfig.OidcToken.Builder>
public PushConfig.OidcToken.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<PushConfig.OidcToken.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<PushConfig.OidcToken.Builder>
public PushConfig.OidcToken getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public PushConfig.OidcToken build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public PushConfig.OidcToken buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public PushConfig.OidcToken.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<PushConfig.OidcToken.Builder>
public PushConfig.OidcToken.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<PushConfig.OidcToken.Builder>
public PushConfig.OidcToken.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<PushConfig.OidcToken.Builder>
public PushConfig.OidcToken.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<PushConfig.OidcToken.Builder>
public PushConfig.OidcToken.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PushConfig.OidcToken.Builder>
public PushConfig.OidcToken.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PushConfig.OidcToken.Builder>
public PushConfig.OidcToken.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PushConfig.OidcToken.Builder>
public PushConfig.OidcToken.Builder mergeFrom(PushConfig.OidcToken other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<PushConfig.OidcToken.Builder>
public PushConfig.OidcToken.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PushConfig.OidcToken.Builder>
IOException
public String getServiceAccountEmail()
[Service account email](https://cloud.google.com/iam/docs/service-accounts) used for generating the OIDC token. For more information on setting up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/push).
string service_account_email = 1;
getServiceAccountEmail
in interface PushConfig.OidcTokenOrBuilder
public com.google.protobuf.ByteString getServiceAccountEmailBytes()
[Service account email](https://cloud.google.com/iam/docs/service-accounts) used for generating the OIDC token. For more information on setting up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/push).
string service_account_email = 1;
getServiceAccountEmailBytes
in interface PushConfig.OidcTokenOrBuilder
public PushConfig.OidcToken.Builder setServiceAccountEmail(String value)
[Service account email](https://cloud.google.com/iam/docs/service-accounts) used for generating the OIDC token. For more information on setting up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/push).
string service_account_email = 1;
value
- The serviceAccountEmail to set.public PushConfig.OidcToken.Builder clearServiceAccountEmail()
[Service account email](https://cloud.google.com/iam/docs/service-accounts) used for generating the OIDC token. For more information on setting up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/push).
string service_account_email = 1;
public PushConfig.OidcToken.Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
[Service account email](https://cloud.google.com/iam/docs/service-accounts) used for generating the OIDC token. For more information on setting up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/push).
string service_account_email = 1;
value
- The bytes for serviceAccountEmail to set.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;
getAudience
in interface PushConfig.OidcTokenOrBuilder
public com.google.protobuf.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;
getAudienceBytes
in interface PushConfig.OidcTokenOrBuilder
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;
value
- The audience to set.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;
public PushConfig.OidcToken.Builder setAudienceBytes(com.google.protobuf.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;
value
- The bytes for audience to set.public final PushConfig.OidcToken.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PushConfig.OidcToken.Builder>
public final PushConfig.OidcToken.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PushConfig.OidcToken.Builder>
Copyright © 2023 Google LLC. All rights reserved.