public static final class ResourceGroupReference.Builder extends GeneratedMessageV3.Builder<ResourceGroupReference.Builder> implements ResourceGroupReferenceOrBuilder
Protobuf type google.cloud.compute.v1.ResourceGroupReference
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceGroupReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ResourceGroupReference build()
Returns
buildPartial()
public ResourceGroupReference buildPartial()
Returns
clear()
public ResourceGroupReference.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ResourceGroupReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGroup()
public ResourceGroupReference.Builder clearGroup()
A URI referencing one of the instance groups or network endpoint groups listed in the backend service.
optional string group = 98629247;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceGroupReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ResourceGroupReference.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ResourceGroupReference getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGroup()
A URI referencing one of the instance groups or network endpoint groups listed in the backend service.
optional string group = 98629247;
Returns
Type | Description |
String | The group.
|
getGroupBytes()
public ByteString getGroupBytes()
A URI referencing one of the instance groups or network endpoint groups listed in the backend service.
optional string group = 98629247;
Returns
hasGroup()
public boolean hasGroup()
A URI referencing one of the instance groups or network endpoint groups listed in the backend service.
optional string group = 98629247;
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(ResourceGroupReference other)
public ResourceGroupReference.Builder mergeFrom(ResourceGroupReference other)
Parameter
Returns
public ResourceGroupReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ResourceGroupReference.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceGroupReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceGroupReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGroup(String value)
public ResourceGroupReference.Builder setGroup(String value)
A URI referencing one of the instance groups or network endpoint groups listed in the backend service.
optional string group = 98629247;
Parameter
Name | Description |
value | String
The group to set.
|
Returns
setGroupBytes(ByteString value)
public ResourceGroupReference.Builder setGroupBytes(ByteString value)
A URI referencing one of the instance groups or network endpoint groups listed in the backend service.
optional string group = 98629247;
Parameter
Name | Description |
value | ByteString
The bytes for group to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceGroupReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceGroupReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides