public static final class LocationIdentifier.LinkedLocation.Builder extends GeneratedMessage.Builder<LocationIdentifier.LinkedLocation.Builder> implements LocationIdentifier.LinkedLocationOrBuilderProtobuf type google.cloud.capacityplanner.v1beta.LocationIdentifier.LinkedLocation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LocationIdentifier.LinkedLocation.BuilderImplements
LocationIdentifier.LinkedLocationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public LocationIdentifier.LinkedLocation build()| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
buildPartial()
public LocationIdentifier.LinkedLocation buildPartial()| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
clear()
public LocationIdentifier.LinkedLocation.Builder clear()| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
|
clearLabel()
public LocationIdentifier.LinkedLocation.Builder clearLabel()string label = 3;
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
This builder for chaining. |
clearLocation()
public LocationIdentifier.LinkedLocation.Builder clearLocation()Required. The linked cloud location.
string location = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
This builder for chaining. |
clearLocationLevel()
public LocationIdentifier.LinkedLocation.Builder clearLocationLevel()The location level such as a region.
.google.cloud.capacityplanner.v1beta.LocationLevel location_level = 1;
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public LocationIdentifier.LinkedLocation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLabel()
public String getLabel()string label = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The label. |
getLabelBytes()
public ByteString getLabelBytes()string label = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for label. |
getLocation()
public String getLocation()Required. The linked cloud location.
string location = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()Required. The linked cloud location.
string location = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getLocationLevel()
public LocationLevel getLocationLevel()The location level such as a region.
.google.cloud.capacityplanner.v1beta.LocationLevel location_level = 1;
| Returns | |
|---|---|
| Type | Description |
LocationLevel |
The locationLevel. |
getLocationLevelValue()
public int getLocationLevelValue()The location level such as a region.
.google.cloud.capacityplanner.v1beta.LocationLevel location_level = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for locationLevel. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LocationIdentifier.LinkedLocation other)
public LocationIdentifier.LinkedLocation.Builder mergeFrom(LocationIdentifier.LinkedLocation other)| Parameter | |
|---|---|
| Name | Description |
other |
LocationIdentifier.LinkedLocation |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LocationIdentifier.LinkedLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LocationIdentifier.LinkedLocation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
|
setLabel(String value)
public LocationIdentifier.LinkedLocation.Builder setLabel(String value)string label = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe label to set. |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
This builder for chaining. |
setLabelBytes(ByteString value)
public LocationIdentifier.LinkedLocation.Builder setLabelBytes(ByteString value)string label = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for label to set. |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
This builder for chaining. |
setLocation(String value)
public LocationIdentifier.LinkedLocation.Builder setLocation(String value)Required. The linked cloud location.
string location = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public LocationIdentifier.LinkedLocation.Builder setLocationBytes(ByteString value)Required. The linked cloud location.
string location = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
This builder for chaining. |
setLocationLevel(LocationLevel value)
public LocationIdentifier.LinkedLocation.Builder setLocationLevel(LocationLevel value)The location level such as a region.
.google.cloud.capacityplanner.v1beta.LocationLevel location_level = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
LocationLevelThe locationLevel to set. |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
This builder for chaining. |
setLocationLevelValue(int value)
public LocationIdentifier.LinkedLocation.Builder setLocationLevelValue(int value)The location level such as a region.
.google.cloud.capacityplanner.v1beta.LocationLevel location_level = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for locationLevel to set. |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
This builder for chaining. |