public static final class Authorization.Builder extends GeneratedMessage.Builder<Authorization.Builder> implements AuthorizationOrBuilderThe authorization information used when invoking deployment endpoints.
Protobuf type google.cloud.gsuiteaddons.v1.Authorization
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Authorization.BuilderImplements
AuthorizationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Authorization build()| Returns | |
|---|---|
| Type | Description |
Authorization |
|
buildPartial()
public Authorization buildPartial()| Returns | |
|---|---|
| Type | Description |
Authorization |
|
clear()
public Authorization.Builder clear()| Returns | |
|---|---|
| Type | Description |
Authorization.Builder |
|
clearName()
public Authorization.Builder clearName() The canonical full name of this resource.
Example: projects/123/authorization
string name = 1;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
Authorization.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| Type | Description |
Authorization.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Authorization getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Authorization |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() The canonical full name of this resource.
Example: projects/123/authorization
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() The canonical full name of this resource.
Example: projects/123/authorization
string name = 1;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceAccountEmail. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Authorization other)
public Authorization.Builder mergeFrom(Authorization other)| Parameter | |
|---|---|
| Name | Description |
other |
Authorization |
| Returns | |
|---|---|
| Type | Description |
Authorization.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Authorization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Authorization.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Authorization.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe oauthClientId to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for oauthClientId to set. |
| Returns | |
|---|---|
| Type | Description |
Authorization.Builder |
This builder for chaining. |
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serviceAccountEmail to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceAccountEmail to set. |
| Returns | |
|---|---|
| Type | Description |
Authorization.Builder |
This builder for chaining. |