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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateGroupRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateGroupRequest build()
buildPartial()
public UpdateGroupRequest buildPartial()
clear()
public UpdateGroupRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateGroupRequest.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateGroupRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValidateOnly()
public UpdateGroupRequest.Builder clearValidateOnly()
If true, validate this request but do not update the existing group.
bool validate_only = 3;
clone()
public UpdateGroupRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateGroupRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateGroupRequest other)
public UpdateGroupRequest.Builder mergeFrom(UpdateGroupRequest other)
public UpdateGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateGroupRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGroupRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateGroupRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateGroupRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGroupRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|