Class UpdateScopeRequest (1.85.0)

public final class UpdateScopeRequest extends GeneratedMessage implements UpdateScopeRequestOrBuilder

Request to update a Scope.

Protobuf type google.cloud.gkehub.v1.UpdateScopeRequest

Static Fields

SCOPE_FIELD_NUMBER

public static final int SCOPE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateScopeRequest getDefaultInstance()
Returns
Type Description
UpdateScopeRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdateScopeRequest.Builder newBuilder()
Returns
Type Description
UpdateScopeRequest.Builder

newBuilder(UpdateScopeRequest prototype)

public static UpdateScopeRequest.Builder newBuilder(UpdateScopeRequest prototype)
Parameter
Name Description
prototype UpdateScopeRequest
Returns
Type Description
UpdateScopeRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateScopeRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateScopeRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateScopeRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateScopeRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateScopeRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateScopeRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateScopeRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateScopeRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateScopeRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateScopeRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateScopeRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateScopeRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateScopeRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateScopeRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateScopeRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateScopeRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateScopeRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateScopeRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateScopeRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateScopeRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateScopeRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateScopeRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateScopeRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateScopeRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateScopeRequest> parser()
Returns
Type Description
Parser<UpdateScopeRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateScopeRequest getDefaultInstanceForType()
Returns
Type Description
UpdateScopeRequest

getParserForType()

public Parser<UpdateScopeRequest> getParserForType()
Returns
Type Description
Parser<UpdateScopeRequest>
Overrides

getScope()

public Scope getScope()

Required. A Scope with fields updated. The 'name' field in this namespace is used to identify the resource to update.

.google.cloud.gkehub.v1.Scope scope = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Scope

The scope.

getScopeOrBuilder()

public ScopeOrBuilder getScopeOrBuilder()

Required. A Scope with fields updated. The 'name' field in this namespace is used to identify the resource to update.

.google.cloud.gkehub.v1.Scope scope = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ScopeOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. The fields to be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The fields to be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasScope()

public boolean hasScope()

Required. A Scope with fields updated. The 'name' field in this namespace is used to identify the resource to update.

.google.cloud.gkehub.v1.Scope scope = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the scope field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The fields to be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateScopeRequest.Builder newBuilderForType()
Returns
Type Description
UpdateScopeRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected UpdateScopeRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateScopeRequest.Builder
Overrides

toBuilder()

public UpdateScopeRequest.Builder toBuilder()
Returns
Type Description
UpdateScopeRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException