public static final class Authorization.Builder extends GeneratedMessageV3.Builder<Authorization.Builder> implements AuthorizationOrBuilder
The authorization information used when invoking deployment endpoints.
Protobuf type google.cloud.gsuiteaddons.v1.Authorization
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Authorization.BuilderImplements
AuthorizationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Authorization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Authorization.Builder |
build()
public Authorization build()
Type | Description |
Authorization |
buildPartial()
public Authorization buildPartial()
Type | Description |
Authorization |
clear()
public Authorization.Builder clear()
Type | Description |
Authorization.Builder |
clearField(Descriptors.FieldDescriptor field)
public Authorization.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Authorization.Builder |
clearName()
public Authorization.Builder clearName()
The canonical full name of this resource.
Example: projects/123/authorization
string name = 1;
Type | Description |
Authorization.Builder | This builder for chaining. |
clearOauthClientId()
public Authorization.Builder clearOauthClientId()
The OAuth client ID used to obtain OAuth access tokens for a user on the add-on's behalf.
string oauth_client_id = 3;
Type | Description |
Authorization.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Authorization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Authorization.Builder |
clearServiceAccountEmail()
public Authorization.Builder clearServiceAccountEmail()
The email address of the service account used to authenticate requests to add-on callback endpoints.
string service_account_email = 2;
Type | Description |
Authorization.Builder | This builder for chaining. |
clone()
public Authorization.Builder clone()
Type | Description |
Authorization.Builder |
getDefaultInstanceForType()
public Authorization getDefaultInstanceForType()
Type | Description |
Authorization |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
The canonical full name of this resource.
Example: projects/123/authorization
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The canonical full name of this resource.
Example: projects/123/authorization
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getOauthClientId()
public String getOauthClientId()
The OAuth client ID used to obtain OAuth access tokens for a user on the add-on's behalf.
string oauth_client_id = 3;
Type | Description |
String | The oauthClientId. |
getOauthClientIdBytes()
public ByteString getOauthClientIdBytes()
The OAuth client ID used to obtain OAuth access tokens for a user on the add-on's behalf.
string oauth_client_id = 3;
Type | Description |
ByteString | The bytes for oauthClientId. |
getServiceAccountEmail()
public String getServiceAccountEmail()
The email address of the service account used to authenticate requests to add-on callback endpoints.
string service_account_email = 2;
Type | Description |
String | The serviceAccountEmail. |
getServiceAccountEmailBytes()
public ByteString getServiceAccountEmailBytes()
The email address of the service account used to authenticate requests to add-on callback endpoints.
string service_account_email = 2;
Type | Description |
ByteString | The bytes for serviceAccountEmail. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Authorization other)
public Authorization.Builder mergeFrom(Authorization other)
Name | Description |
other | Authorization |
Type | Description |
Authorization.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Authorization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Authorization.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Authorization.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Authorization.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Authorization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Authorization.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Authorization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Authorization.Builder |
setName(String value)
public Authorization.Builder setName(String value)
The canonical full name of this resource.
Example: projects/123/authorization
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Authorization.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Authorization.Builder setNameBytes(ByteString value)
The canonical full name of this resource.
Example: projects/123/authorization
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Authorization.Builder | This builder for chaining. |
setOauthClientId(String value)
public Authorization.Builder setOauthClientId(String value)
The OAuth client ID used to obtain OAuth access tokens for a user on the add-on's behalf.
string oauth_client_id = 3;
Name | Description |
value | String The oauthClientId to set. |
Type | Description |
Authorization.Builder | This builder for chaining. |
setOauthClientIdBytes(ByteString value)
public Authorization.Builder setOauthClientIdBytes(ByteString value)
The OAuth client ID used to obtain OAuth access tokens for a user on the add-on's behalf.
string oauth_client_id = 3;
Name | Description |
value | ByteString The bytes for oauthClientId to set. |
Type | Description |
Authorization.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Authorization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Authorization.Builder |
setServiceAccountEmail(String value)
public Authorization.Builder setServiceAccountEmail(String value)
The email address of the service account used to authenticate requests to add-on callback endpoints.
string service_account_email = 2;
Name | Description |
value | String The serviceAccountEmail to set. |
Type | Description |
Authorization.Builder | This builder for chaining. |
setServiceAccountEmailBytes(ByteString value)
public Authorization.Builder setServiceAccountEmailBytes(ByteString value)
The email address of the service account used to authenticate requests to add-on callback endpoints.
string service_account_email = 2;
Name | Description |
value | ByteString The bytes for serviceAccountEmail to set. |
Type | Description |
Authorization.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Authorization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Authorization.Builder |