public static final class ServerBinding.Builder extends GeneratedMessageV3.Builder<ServerBinding.Builder> implements ServerBindingOrBuilder
Protobuf type google.cloud.compute.v1.ServerBinding
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServerBinding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ServerBinding build()
Returns
buildPartial()
public ServerBinding buildPartial()
Returns
clear()
public ServerBinding.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ServerBinding.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ServerBinding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearType()
public ServerBinding.Builder clearType()
Check the Type enum for the list of possible values.
optional string type = 3575610;
Returns
clone()
public ServerBinding.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ServerBinding getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getType()
Check the Type enum for the list of possible values.
optional string type = 3575610;
Returns
Type | Description |
String | The type.
|
getTypeBytes()
public ByteString getTypeBytes()
Check the Type enum for the list of possible values.
optional string type = 3575610;
Returns
hasType()
Check the Type enum for the list of possible values.
optional string type = 3575610;
Returns
Type | Description |
boolean | Whether the type field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ServerBinding other)
public ServerBinding.Builder mergeFrom(ServerBinding other)
Parameter
Returns
public ServerBinding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ServerBinding.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServerBinding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ServerBinding.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServerBinding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setType(String value)
public ServerBinding.Builder setType(String value)
Check the Type enum for the list of possible values.
optional string type = 3575610;
Parameter
Name | Description |
value | String
The type to set.
|
Returns
setTypeBytes(ByteString value)
public ServerBinding.Builder setTypeBytes(ByteString value)
Check the Type enum for the list of possible values.
optional string type = 3575610;
Parameter
Name | Description |
value | ByteString
The bytes for type to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ServerBinding.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides