public static final class UpdateGroupRequest.Builder extends GeneratedMessageV3.Builder<UpdateGroupRequest.Builder> implements UpdateGroupRequestOrBuilder
The UpdateGroup
request.
Protobuf type google.monitoring.v3.UpdateGroupRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateGroupRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateGroupRequest build()
Returns
buildPartial()
public UpdateGroupRequest buildPartial()
Returns
clear()
public UpdateGroupRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateGroupRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGroup()
public UpdateGroupRequest.Builder clearGroup()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateGroupRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearValidateOnly()
public UpdateGroupRequest.Builder clearValidateOnly()
If true, validate this request but do not update the existing group.
bool validate_only = 3;
Returns
clone()
public UpdateGroupRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateGroupRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Type | Description |
Group | The group.
|
getGroupBuilder()
public Group.Builder getGroupBuilder()
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
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
getValidateOnly()
public boolean getValidateOnly()
If true, validate this request but do not update the existing group.
bool validate_only = 3;
Returns
Type | Description |
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
Type | Description |
boolean | Whether the group field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateGroupRequest other)
public UpdateGroupRequest.Builder mergeFrom(UpdateGroupRequest other)
Parameter
Returns
public UpdateGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateGroupRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeGroup(Group value)
public UpdateGroupRequest.Builder mergeGroup(Group value)
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];
Parameter
Name | Description |
value | Group
|
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGroupRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateGroupRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGroup(Group value)
public UpdateGroupRequest.Builder setGroup(Group value)
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];
Parameter
Name | Description |
value | Group
|
Returns
setGroup(Group.Builder builderForValue)
public UpdateGroupRequest.Builder setGroup(Group.Builder builderForValue)
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];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateGroupRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGroupRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setValidateOnly(boolean value)
public UpdateGroupRequest.Builder setValidateOnly(boolean value)
If true, validate this request but do not update the existing group.
bool validate_only = 3;
Parameter
Name | Description |
value | boolean
The validateOnly to set.
|
Returns