Class UpdateGroupRequest

public final class UpdateGroupRequest extends GeneratedMessageV3 implements UpdateGroupRequestOrBuilder

The UpdateGroup request.

Protobuf type google.monitoring.v3.UpdateGroupRequest

Static Fields

GROUP_FIELD_NUMBER

public static final int GROUP_FIELD_NUMBER
Field Value
TypeDescription
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateGroupRequest getDefaultInstance()
Returns
TypeDescription
UpdateGroupRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateGroupRequest prototype)

public static UpdateGroupRequest.Builder newBuilder(UpdateGroupRequest prototype)
Parameter
NameDescription
prototypeUpdateGroupRequest
Returns
TypeDescription
UpdateGroupRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateGroupRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateGroupRequest

getGroup()

public Group getGroup()

Required. The new definition of the group. All fields of the existing group, excepting name, are replaced with the corresponding fields of this group.

.google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Group

The group.

getGroupOrBuilder()

public GroupOrBuilder getGroupOrBuilder()

Required. The new definition of the group. All fields of the existing group, excepting name, are replaced with the corresponding fields of this group.

.google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GroupOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValidateOnly()

public boolean getValidateOnly()

If true, validate this request but do not update the existing group.

bool validate_only = 3;

Returns
TypeDescription
boolean

The validateOnly.

hasGroup()

public boolean hasGroup()

Required. The new definition of the group. All fields of the existing group, excepting name, are replaced with the corresponding fields of this group.

.google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the group 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 UpdateGroupRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateGroupRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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