Package com.google.cloud.gsuiteaddons.v1
Class Deployment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
com.google.cloud.gsuiteaddons.v1.Deployment.Builder
- All Implemented Interfaces:
DeploymentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Deployment
public static final class Deployment.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
implements DeploymentOrBuilder
A Google Workspace add-on deploymentProtobuf type
google.cloud.gsuiteaddons.v1.Deployment-
Method Summary
Modifier and TypeMethodDescriptionaddAllOauthScopes(Iterable<String> values) The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.addOauthScopes(String value) The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.addOauthScopesBytes(com.google.protobuf.ByteString value) The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.build()clear()The Google Workspace add-on configuration.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.The deployment resource name.The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.The Google Workspace add-on configuration.The Google Workspace add-on configuration.The Google Workspace add-on configuration.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEtag()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.com.google.protobuf.ByteStringThis 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.getName()The deployment resource name.com.google.protobuf.ByteStringThe deployment resource name.getOauthScopes(int index) The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.com.google.protobuf.ByteStringgetOauthScopesBytes(int index) The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.intThe list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.com.google.protobuf.ProtocolStringListThe list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.booleanThe Google Workspace add-on configuration.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAddOns(AddOns value) The Google Workspace add-on configuration.mergeFrom(Deployment other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The Google Workspace add-on configuration.setAddOns(AddOns.Builder builderForValue) The Google Workspace add-on configuration.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.setEtagBytes(com.google.protobuf.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.The deployment resource name.setNameBytes(com.google.protobuf.ByteString value) The deployment resource name.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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Deployment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
mergeFrom
public Deployment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Deployment.Builder>- Throws:
IOException
-
getName
The deployment resource name. Example: projects/123/deployments/my_deployment.
string name = 1;- Specified by:
getNamein interfaceDeploymentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The deployment resource name. Example: projects/123/deployments/my_deployment.
string name = 1;- Specified by:
getNameBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for name.
-
setName
The deployment resource name. Example: projects/123/deployments/my_deployment.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The deployment resource name. Example: projects/123/deployments/my_deployment.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The deployment resource name. Example: projects/123/deployments/my_deployment.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getOauthScopesList
public com.google.protobuf.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;- Specified by:
getOauthScopesListin interfaceDeploymentOrBuilder- Returns:
- A list containing the oauthScopes.
-
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;- Specified by:
getOauthScopesCountin interfaceDeploymentOrBuilder- Returns:
- The count of oauthScopes.
-
getOauthScopes
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;- Specified by:
getOauthScopesin interfaceDeploymentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The oauthScopes at the given index.
-
getOauthScopesBytes
public com.google.protobuf.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;- Specified by:
getOauthScopesBytesin interfaceDeploymentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the oauthScopes at the given index.
-
setOauthScopes
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:
index- The index to set the value at.value- The oauthScopes to set.- Returns:
- This builder for chaining.
-
addOauthScopes
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:
value- The oauthScopes to add.- Returns:
- This builder for chaining.
-
addAllOauthScopes
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:
values- The oauthScopes to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addOauthScopesBytes
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:
value- The bytes of the oauthScopes to add.- Returns:
- This builder for chaining.
-
hasAddOns
public boolean hasAddOns()The Google Workspace add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;- Specified by:
hasAddOnsin interfaceDeploymentOrBuilder- Returns:
- Whether the addOns field is set.
-
getAddOns
The Google Workspace add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;- Specified by:
getAddOnsin interfaceDeploymentOrBuilder- Returns:
- The addOns.
-
setAddOns
The Google Workspace add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; -
setAddOns
The Google Workspace add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; -
mergeAddOns
The Google Workspace add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; -
clearAddOns
The Google Workspace add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; -
getAddOnsBuilder
The Google Workspace add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; -
getAddOnsOrBuilder
The Google Workspace add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;- Specified by:
getAddOnsOrBuilderin interfaceDeploymentOrBuilder
-
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;- Specified by:
getEtagin interfaceDeploymentOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.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;- Specified by:
getEtagBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for etag.
-
setEtag
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;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setEtagBytes
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;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-