Class GetInstanceSettingRequest.Builder (1.61.0)

public static final class GetInstanceSettingRequest.Builder extends GeneratedMessageV3.Builder<GetInstanceSettingRequest.Builder> implements GetInstanceSettingRequestOrBuilder

A request message for InstanceSettingsService.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetInstanceSettingRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetInstanceSettingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetInstanceSettingRequest.Builder
Overrides

build()

public GetInstanceSettingRequest build()
Returns
Type Description
GetInstanceSettingRequest

buildPartial()

public GetInstanceSettingRequest buildPartial()
Returns
Type Description
GetInstanceSettingRequest

clear()

public GetInstanceSettingRequest.Builder clear()
Returns
Type Description
GetInstanceSettingRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetInstanceSettingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetInstanceSettingRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetInstanceSettingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetInstanceSettingRequest.Builder
Overrides

clearProject()

public GetInstanceSettingRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetInstanceSettingRequest.Builder

This builder for chaining.

clearZone()

public GetInstanceSettingRequest.Builder clearZone()

Name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetInstanceSettingRequest.Builder

This builder for chaining.

clone()

public GetInstanceSettingRequest.Builder clone()
Returns
Type Description
GetInstanceSettingRequest.Builder
Overrides

getDefaultInstanceForType()

public GetInstanceSettingRequest getDefaultInstanceForType()
Returns
Type Description
GetInstanceSettingRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

getZone()

public String getZone()

Name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

Name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetInstanceSettingRequest other)

public GetInstanceSettingRequest.Builder mergeFrom(GetInstanceSettingRequest other)
Parameter
Name Description
other GetInstanceSettingRequest
Returns
Type Description
GetInstanceSettingRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetInstanceSettingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetInstanceSettingRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetInstanceSettingRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetInstanceSettingRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetInstanceSettingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetInstanceSettingRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetInstanceSettingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetInstanceSettingRequest.Builder
Overrides

setProject(String value)

public GetInstanceSettingRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetInstanceSettingRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetInstanceSettingRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetInstanceSettingRequest.Builder

This builder for chaining.

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

public GetInstanceSettingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetInstanceSettingRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetInstanceSettingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetInstanceSettingRequest.Builder
Overrides

setZone(String value)

public GetInstanceSettingRequest.Builder setZone(String value)

Name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The zone to set.

Returns
Type Description
GetInstanceSettingRequest.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public GetInstanceSettingRequest.Builder setZoneBytes(ByteString value)

Name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
GetInstanceSettingRequest.Builder

This builder for chaining.