Class ServiceProperties (0.4.0)

public final class ServiceProperties extends GeneratedMessageV3 implements ServicePropertiesOrBuilder

Properties of an underlying cloud resource that can comprise a Service.

Protobuf type google.cloud.apphub.v1.ServiceProperties

Static Fields

GCP_PROJECT_FIELD_NUMBER

public static final int GCP_PROJECT_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ServiceProperties getDefaultInstance()
Returns
TypeDescription
ServiceProperties

getDescriptor()

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

newBuilder()

public static ServiceProperties.Builder newBuilder()
Returns
TypeDescription
ServiceProperties.Builder

newBuilder(ServiceProperties prototype)

public static ServiceProperties.Builder newBuilder(ServiceProperties prototype)
Parameter
NameDescription
prototypeServiceProperties
Returns
TypeDescription
ServiceProperties.Builder

parseDelimitedFrom(InputStream input)

public static ServiceProperties parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServiceProperties
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceProperties
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ServiceProperties parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ServiceProperties
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ServiceProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceProperties
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ServiceProperties parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ServiceProperties
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ServiceProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceProperties
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ServiceProperties parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ServiceProperties
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceProperties
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ServiceProperties parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServiceProperties
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceProperties
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ServiceProperties parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ServiceProperties
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ServiceProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceProperties
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ServiceProperties> parser()
Returns
TypeDescription
Parser<ServiceProperties>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ServiceProperties getDefaultInstanceForType()
Returns
TypeDescription
ServiceProperties

getGcpProject()

public String getGcpProject()

Output only. The service project identifier that the underlying cloud resource resides in.

string gcp_project = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The gcpProject.

getGcpProjectBytes()

public ByteString getGcpProjectBytes()

Output only. The service project identifier that the underlying cloud resource resides in.

string gcp_project = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for gcpProject.

getLocation()

public String getLocation()

Output only. The location that the underlying resource resides in, for example, us-west1.

string location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Output only. The location that the underlying resource resides in, for example, us-west1.

string location = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for location.

getParserForType()

public Parser<ServiceProperties> getParserForType()
Returns
TypeDescription
Parser<ServiceProperties>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getZone()

public String getZone()

Output only. The location that the underlying resource resides in if it is zonal, for example, us-west1-a).

string zone = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

Output only. The location that the underlying resource resides in if it is zonal, for example, us-west1-a).

string zone = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for zone.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ServiceProperties.Builder newBuilderForType()
Returns
TypeDescription
ServiceProperties.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ServiceProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ServiceProperties.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ServiceProperties.Builder toBuilder()
Returns
TypeDescription
ServiceProperties.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException