public static final class LocationIdentifier.LinkedLocation extends GeneratedMessage implements LocationIdentifier.LinkedLocationOrBuilderProtobuf type google.cloud.capacityplanner.v1beta.LocationIdentifier.LinkedLocation
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > LocationIdentifier.LinkedLocationImplements
LocationIdentifier.LinkedLocationOrBuilderStatic Fields
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LOCATION_LEVEL_FIELD_NUMBER
public static final int LOCATION_LEVEL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static LocationIdentifier.LinkedLocation getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static LocationIdentifier.LinkedLocation.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
|
newBuilder(LocationIdentifier.LinkedLocation prototype)
public static LocationIdentifier.LinkedLocation.Builder newBuilder(LocationIdentifier.LinkedLocation prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
LocationIdentifier.LinkedLocation |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
|
parseDelimitedFrom(InputStream input)
public static LocationIdentifier.LinkedLocation parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LocationIdentifier.LinkedLocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static LocationIdentifier.LinkedLocation parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LocationIdentifier.LinkedLocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static LocationIdentifier.LinkedLocation parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LocationIdentifier.LinkedLocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static LocationIdentifier.LinkedLocation parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LocationIdentifier.LinkedLocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static LocationIdentifier.LinkedLocation parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LocationIdentifier.LinkedLocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static LocationIdentifier.LinkedLocation parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LocationIdentifier.LinkedLocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<LocationIdentifier.LinkedLocation> parser()| Returns | |
|---|---|
| Type | Description |
Parser<LinkedLocation> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public LocationIdentifier.LinkedLocation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation |
|
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. |
getParserForType()
public Parser<LocationIdentifier.LinkedLocation> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<LinkedLocation> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public LocationIdentifier.LinkedLocation.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected LocationIdentifier.LinkedLocation.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
|
toBuilder()
public LocationIdentifier.LinkedLocation.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
LocationIdentifier.LinkedLocation.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|