public static final class PushConfig.OidcToken extends GeneratedMessageV3 implements PushConfig.OidcTokenOrBuilder
Contains information needed for generating an OpenID Connect token.
Protobuf type google.pubsub.v1.PushConfig.OidcToken
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PushConfig.OidcTokenImplements
PushConfig.OidcTokenOrBuilderStatic Fields
AUDIENCE_FIELD_NUMBER
public static final int AUDIENCE_FIELD_NUMBER
Type | Description |
int |
SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static PushConfig.OidcToken getDefaultInstance()
Type | Description |
PushConfig.OidcToken |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static PushConfig.OidcToken.Builder newBuilder()
Type | Description |
PushConfig.OidcToken.Builder |
newBuilder(PushConfig.OidcToken prototype)
public static PushConfig.OidcToken.Builder newBuilder(PushConfig.OidcToken prototype)
Name | Description |
prototype | PushConfig.OidcToken |
Type | Description |
PushConfig.OidcToken.Builder |
parseDelimitedFrom(InputStream input)
public static PushConfig.OidcToken parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
PushConfig.OidcToken |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PushConfig.OidcToken parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PushConfig.OidcToken |
Type | Description |
IOException |
parseFrom(byte[] data)
public static PushConfig.OidcToken parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
PushConfig.OidcToken |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PushConfig.OidcToken parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PushConfig.OidcToken |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static PushConfig.OidcToken parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
PushConfig.OidcToken |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PushConfig.OidcToken parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PushConfig.OidcToken |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static PushConfig.OidcToken parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
PushConfig.OidcToken |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PushConfig.OidcToken parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PushConfig.OidcToken |
Type | Description |
IOException |
parseFrom(InputStream input)
public static PushConfig.OidcToken parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
PushConfig.OidcToken |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PushConfig.OidcToken parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PushConfig.OidcToken |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static PushConfig.OidcToken parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
PushConfig.OidcToken |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PushConfig.OidcToken parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PushConfig.OidcToken |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<PushConfig.OidcToken> parser()
Type | Description |
Parser<OidcToken> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
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;
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;
Type | Description |
ByteString | The bytes for audience. |
getDefaultInstanceForType()
public PushConfig.OidcToken getDefaultInstanceForType()
Type | Description |
PushConfig.OidcToken |
getParserForType()
public Parser<PushConfig.OidcToken> getParserForType()
Type | Description |
Parser<OidcToken> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getServiceAccountEmail()
public String getServiceAccountEmail()
Service account email to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.
string service_account_email = 1;
Type | Description |
String | The serviceAccountEmail. |
getServiceAccountEmailBytes()
public ByteString getServiceAccountEmailBytes()
Service account email to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.
string service_account_email = 1;
Type | Description |
ByteString | The bytes for serviceAccountEmail. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public PushConfig.OidcToken.Builder newBuilderForType()
Type | Description |
PushConfig.OidcToken.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PushConfig.OidcToken.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
PushConfig.OidcToken.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public PushConfig.OidcToken.Builder toBuilder()
Type | Description |
PushConfig.OidcToken.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |