Class GetMachineRequest.Builder (0.5.0)

public static final class GetMachineRequest.Builder extends GeneratedMessageV3.Builder<GetMachineRequest.Builder> implements GetMachineRequestOrBuilder

Gets a machine.

Protobuf type google.cloud.edgecontainer.v1.GetMachineRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetMachineRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetMachineRequest.Builder
Overrides

build()

public GetMachineRequest build()
Returns
TypeDescription
GetMachineRequest

buildPartial()

public GetMachineRequest buildPartial()
Returns
TypeDescription
GetMachineRequest

clear()

public GetMachineRequest.Builder clear()
Returns
TypeDescription
GetMachineRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetMachineRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetMachineRequest.Builder
Overrides

clearName()

public GetMachineRequest.Builder clearName()

Required. The resource name of the machine.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetMachineRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetMachineRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetMachineRequest.Builder
Overrides

clone()

public GetMachineRequest.Builder clone()
Returns
TypeDescription
GetMachineRequest.Builder
Overrides

getDefaultInstanceForType()

public GetMachineRequest getDefaultInstanceForType()
Returns
TypeDescription
GetMachineRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the machine.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the machine.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetMachineRequest other)

public GetMachineRequest.Builder mergeFrom(GetMachineRequest other)
Parameter
NameDescription
otherGetMachineRequest
Returns
TypeDescription
GetMachineRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetMachineRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetMachineRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetMachineRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetMachineRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetMachineRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetMachineRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetMachineRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetMachineRequest.Builder
Overrides

setName(String value)

public GetMachineRequest.Builder setName(String value)

Required. The resource name of the machine.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetMachineRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetMachineRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the machine.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetMachineRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetMachineRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetMachineRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetMachineRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetMachineRequest.Builder
Overrides