public final class Deployment extends GeneratedMessageV3 implements DeploymentOrBuilder
A Google Workspace Add-on deployment
Protobuf type google.cloud.gsuiteaddons.v1.Deployment
Static Fields
ADD_ONS_FIELD_NUMBER
public static final int ADD_ONS_FIELD_NUMBER
Field Value
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
OAUTH_SCOPES_FIELD_NUMBER
public static final int OAUTH_SCOPES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Deployment getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Deployment.Builder newBuilder()
Returns
newBuilder(Deployment prototype)
public static Deployment.Builder newBuilder(Deployment prototype)
Parameter
Returns
public static Deployment parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Deployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Deployment parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Deployment parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Deployment parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Deployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Deployment parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Deployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Deployment parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Deployment> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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;
Returns
getDefaultInstanceForType()
public Deployment getDefaultInstanceForType()
Returns
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
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
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
getParserForType()
public Parser<Deployment> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Deployment.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Deployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Deployment.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions