public final class UpdateClusterRequest extends GeneratedMessageV3 implements UpdateClusterRequestOrBuilder
Updates a cluster.
Protobuf type google.cloud.edgecontainer.v1.UpdateClusterRequest
Static Fields
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
Field Value
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
Field Value
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpdateClusterRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpdateClusterRequest.Builder newBuilder()
Returns
newBuilder(UpdateClusterRequest prototype)
public static UpdateClusterRequest.Builder newBuilder(UpdateClusterRequest prototype)
Parameter
Returns
public static UpdateClusterRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateClusterRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpdateClusterRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateClusterRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpdateClusterRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateClusterRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateClusterRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateClusterRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateClusterRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateClusterRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpdateClusterRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateClusterRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpdateClusterRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCluster()
public Cluster getCluster()
The updated cluster.
.google.cloud.edgecontainer.v1.Cluster cluster = 2;
Returns
getClusterOrBuilder()
public ClusterOrBuilder getClusterOrBuilder()
The updated cluster.
.google.cloud.edgecontainer.v1.Cluster cluster = 2;
Returns
getDefaultInstanceForType()
public UpdateClusterRequest getDefaultInstanceForType()
Returns
getParserForType()
public Parser<UpdateClusterRequest> getParserForType()
Returns
Overrides
getRequestId()
public String getRequestId()
A unique identifier for this request. Restricted to 36 ASCII characters.
A random UUID is recommended.
This request is only idempotent if request_id
is provided.
string request_id = 3;
Returns
Type | Description |
String | The requestId.
|
getRequestIdBytes()
public ByteString getRequestIdBytes()
A unique identifier for this request. Restricted to 36 ASCII characters.
A random UUID is recommended.
This request is only idempotent if request_id
is provided.
string request_id = 3;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Field mask is used to specify the fields to be overwritten in the
Cluster resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Field mask is used to specify the fields to be overwritten in the
Cluster resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1;
Returns
hasCluster()
public boolean hasCluster()
The updated cluster.
.google.cloud.edgecontainer.v1.Cluster cluster = 2;
Returns
Type | Description |
boolean | Whether the cluster field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Field mask is used to specify the fields to be overwritten in the
Cluster resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UpdateClusterRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateClusterRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UpdateClusterRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions