Class GetServerConfigRequest.Builder (2.4.1)

public static final class GetServerConfigRequest.Builder extends GeneratedMessageV3.Builder<GetServerConfigRequest.Builder> implements GetServerConfigRequestOrBuilder

Gets the current Kubernetes Engine service configuration.

Protobuf type google.container.v1beta1.GetServerConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetServerConfigRequest build()
Returns
TypeDescription
GetServerConfigRequest

buildPartial()

public GetServerConfigRequest buildPartial()
Returns
TypeDescription
GetServerConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetServerConfigRequest.Builder clearName()

The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

string name = 4;

Returns
TypeDescription
GetServerConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId()

public GetServerConfigRequest.Builder clearProjectId()

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetServerConfigRequest.Builder

This builder for chaining.

clearZone()

public GetServerConfigRequest.Builder clearZone()

Required. Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetServerConfigRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetServerConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
GetServerConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

string name = 4;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

string name = 4;

Returns
TypeDescription
ByteString

The bytes for name.

getProjectId()

public String getProjectId()

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for projectId.

getZone()

public String getZone()

Required. Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

Required. Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetServerConfigRequest other)

public GetServerConfigRequest.Builder mergeFrom(GetServerConfigRequest other)
Parameter
NameDescription
otherGetServerConfigRequest
Returns
TypeDescription
GetServerConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetServerConfigRequest.Builder setName(String value)

The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

string name = 4;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetServerConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetServerConfigRequest.Builder setNameBytes(ByteString value)

The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

string name = 4;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetServerConfigRequest.Builder

This builder for chaining.

setProjectId(String value)

public GetServerConfigRequest.Builder setProjectId(String value)

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
GetServerConfigRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public GetServerConfigRequest.Builder setProjectIdBytes(ByteString value)

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
GetServerConfigRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setZone(String value)

public GetServerConfigRequest.Builder setZone(String value)

Required. Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The zone to set.

Returns
TypeDescription
GetServerConfigRequest.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public GetServerConfigRequest.Builder setZoneBytes(ByteString value)

Required. Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for zone to set.

Returns
TypeDescription
GetServerConfigRequest.Builder

This builder for chaining.