Send feedback
Class Deployment (2.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.55.0 keyboard_arrow_down
public final class Deployment extends GeneratedMessageV3 implements DeploymentOrBuilder
A Google Workspace Add-on deployment
Protobuf type google.cloud.gsuiteaddons.v1.Deployment
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ADD_ONS_FIELD_NUMBER
public static final int ADD_ONS_FIELD_NUMBER
Field Value
Type
Description
int
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value
Type
Description
int
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
OAUTH_SCOPES_FIELD_NUMBER
public static final int OAUTH_SCOPES_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Deployment getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Deployment . Builder newBuilder ()
newBuilder(Deployment prototype)
public static Deployment . Builder newBuilder ( Deployment prototype )
public static Deployment parseDelimitedFrom ( InputStream input )
public static Deployment parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Deployment parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Deployment parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Deployment parseFrom ( CodedInputStream input )
public static Deployment parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Deployment parseFrom ( InputStream input )
public static Deployment parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Deployment parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Deployment> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAddOns()
public AddOns getAddOns ()
The Google Workspace Add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;
Returns
Type
Description
AddOns
The addOns.
getAddOnsOrBuilder()
public AddOnsOrBuilder getAddOnsOrBuilder ()
The Google Workspace Add-on configuration.
.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;
getDefaultInstanceForType()
public Deployment getDefaultInstanceForType ()
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()
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;
getParserForType()
public Parser<Deployment> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Deployment . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Deployment . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Deployment . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]