Class Deployment (2.29.0)

public final class Deployment extends GeneratedMessageV3 implements DeploymentOrBuilder

A Google Workspace Add-on deployment

Protobuf type google.cloud.gsuiteaddons.v1.Deployment

Implements

DeploymentOrBuilder

Static Fields

ADD_ONS_FIELD_NUMBER

public static final int ADD_ONS_FIELD_NUMBER
Field Value
TypeDescription
int

ETAG_FIELD_NUMBER

public static final int ETAG_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

OAUTH_SCOPES_FIELD_NUMBER

public static final int OAUTH_SCOPES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Deployment getDefaultInstance()
Returns
TypeDescription
Deployment

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Deployment.Builder newBuilder()
Returns
TypeDescription
Deployment.Builder

newBuilder(Deployment prototype)

public static Deployment.Builder newBuilder(Deployment prototype)
Parameter
NameDescription
prototypeDeployment
Returns
TypeDescription
Deployment.Builder

parseDelimitedFrom(InputStream input)

public static Deployment parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Deployment parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Deployment parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Deployment parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Deployment parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Deployment parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Deployment> parser()
Returns
TypeDescription
Parser<Deployment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAddOns()

public AddOns getAddOns()

The Google Workspace Add-on configuration.

.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;

Returns
TypeDescription
AddOns

The addOns.

getAddOnsOrBuilder()

public AddOnsOrBuilder getAddOnsOrBuilder()

The Google Workspace Add-on configuration.

.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;

Returns
TypeDescription
AddOnsOrBuilder

getDefaultInstanceForType()

public Deployment getDefaultInstanceForType()
Returns
TypeDescription
Deployment

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
TypeDescription
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
TypeDescription
ByteString

The bytes for etag.

getName()

public String getName()

The deployment resource name. Example: projects/123/deployments/my_deployment.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The deployment resource name. Example: projects/123/deployments/my_deployment.

string name = 1;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the oauthScopes.

getParserForType()

public Parser<Deployment> getParserForType()
Returns
TypeDescription
Parser<Deployment>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasAddOns()

public boolean hasAddOns()

The Google Workspace Add-on configuration.

.google.cloud.gsuiteaddons.v1.AddOns add_ons = 3;

Returns
TypeDescription
boolean

Whether the addOns field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Deployment.Builder newBuilderForType()
Returns
TypeDescription
Deployment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Deployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Deployment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Deployment.Builder toBuilder()
Returns
TypeDescription
Deployment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException