- 2.54.0 (latest)
- 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 Deployment.Builder extends GeneratedMessageV3.Builder<Deployment.Builder> implements DeploymentOrBuilder
A Google Workspace Add-on deployment
Protobuf type google.cloud.gsuiteaddons.v1.Deployment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Deployment.BuilderImplements
DeploymentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllOauthScopes(Iterable<String> values)
public Deployment.Builder addAllOauthScopes(Iterable<String> values)
The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.
repeated string oauth_scopes = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The oauthScopes to add. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
addOauthScopes(String value)
public Deployment.Builder addOauthScopes(String value)
The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.
repeated string oauth_scopes = 2;
Parameter | |
---|---|
Name | Description |
value |
String The oauthScopes to add. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
addOauthScopesBytes(ByteString value)
public Deployment.Builder addOauthScopesBytes(ByteString value)
The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.
repeated string oauth_scopes = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the oauthScopes to add. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Deployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
build()
public Deployment build()
Returns | |
---|---|
Type | Description |
Deployment |
buildPartial()
public Deployment buildPartial()
Returns | |
---|---|
Type | Description |
Deployment |
clear()
public Deployment.Builder clear()
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearAddOns()
public Deployment.Builder clearAddOns()
The Google Workspace Add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearEtag()
public Deployment.Builder clearEtag()
This value is computed by the server based on the version of the deployment in storage, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 5;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Deployment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clearName()
public Deployment.Builder clearName()
The deployment resource name. Example: projects/123/deployments/my_deployment.
string name = 1;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
clearOauthScopes()
public Deployment.Builder clearOauthScopes()
The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.
repeated string oauth_scopes = 2;
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Deployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
clone()
public Deployment.Builder clone()
Returns | |
---|---|
Type | Description |
Deployment.Builder |
getAddOns()
public AddOns getAddOns()
The Google Workspace Add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;
Returns | |
---|---|
Type | Description |
AddOns |
The addOns. |
getAddOnsBuilder()
public AddOns.Builder getAddOnsBuilder()
The Google Workspace Add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;
Returns | |
---|---|
Type | Description |
AddOns.Builder |
getAddOnsOrBuilder()
public AddOnsOrBuilder getAddOnsOrBuilder()
The Google Workspace Add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;
Returns | |
---|---|
Type | Description |
AddOnsOrBuilder |
getDefaultInstanceForType()
public Deployment getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Deployment |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEtag()
public String getEtag()
This value is computed by the server based on the version of the deployment in storage, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 5;
Returns | |
---|---|
Type | Description |
String |
The etag. |
getEtagBytes()
public ByteString getEtagBytes()
This value is computed by the server based on the version of the deployment in storage, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for etag. |
getName()
public String getName()
The deployment resource name. Example: projects/123/deployments/my_deployment.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
The deployment resource name. Example: projects/123/deployments/my_deployment.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getOauthScopes(int index)
public String getOauthScopes(int index)
The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.
repeated string oauth_scopes = 2;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The oauthScopes at the given index. |
getOauthScopesBytes(int index)
public ByteString getOauthScopesBytes(int index)
The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.
repeated string oauth_scopes = 2;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the oauthScopes at the given index. |
getOauthScopesCount()
public int getOauthScopesCount()
The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.
repeated string oauth_scopes = 2;
Returns | |
---|---|
Type | Description |
int |
The count of oauthScopes. |
getOauthScopesList()
public ProtocolStringList getOauthScopesList()
The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.
repeated string oauth_scopes = 2;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the oauthScopes. |
hasAddOns()
public boolean hasAddOns()
The Google Workspace Add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the addOns field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAddOns(AddOns value)
public Deployment.Builder mergeAddOns(AddOns value)
The Google Workspace Add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;
Parameter | |
---|---|
Name | Description |
value |
AddOns |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
mergeFrom(Deployment other)
public Deployment.Builder mergeFrom(Deployment other)
Parameter | |
---|---|
Name | Description |
other |
Deployment |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Deployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Deployment.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Deployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setAddOns(AddOns value)
public Deployment.Builder setAddOns(AddOns value)
The Google Workspace Add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;
Parameter | |
---|---|
Name | Description |
value |
AddOns |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setAddOns(AddOns.Builder builderForValue)
public Deployment.Builder setAddOns(AddOns.Builder builderForValue)
The Google Workspace Add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
AddOns.Builder |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setEtag(String value)
public Deployment.Builder setEtag(String value)
This value is computed by the server based on the version of the deployment in storage, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 5;
Parameter | |
---|---|
Name | Description |
value |
String The etag to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public Deployment.Builder setEtagBytes(ByteString value)
This value is computed by the server based on the version of the deployment in storage, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for etag to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Deployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setName(String value)
public Deployment.Builder setName(String value)
The deployment resource name. Example: projects/123/deployments/my_deployment.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Deployment.Builder setNameBytes(ByteString value)
The deployment resource name. Example: projects/123/deployments/my_deployment.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setOauthScopes(int index, String value)
public Deployment.Builder setOauthScopes(int index, String value)
The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.
repeated string oauth_scopes = 2;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The oauthScopes to set. |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Deployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Deployment.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Deployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Deployment.Builder |