- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.6
- 2.2.1
- 2.1.12
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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Authorization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Authorization.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public Authorization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Authorization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Authorization.Builder |
This builder for chaining. |
clone()
public Authorization.Builder clone()
Returns | |
---|---|
Type | Description |
Authorization.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Authorization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Authorization.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Authorization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The bytes for oauthClientId to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The 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 |
ByteString The bytes for serviceAccountEmail to set. |
Returns | |
---|---|
Type | Description |
Authorization.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Authorization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Authorization.Builder |