Class Attributes (0.3.0)

public final class Attributes extends GeneratedMessageV3 implements AttributesOrBuilder

Consumer provided attributes.

Protobuf type google.cloud.apphub.v1.Attributes

Implements

AttributesOrBuilder

Static Fields

BUSINESS_OWNERS_FIELD_NUMBER

public static final int BUSINESS_OWNERS_FIELD_NUMBER
Field Value
TypeDescription
int

CRITICALITY_FIELD_NUMBER

public static final int CRITICALITY_FIELD_NUMBER
Field Value
TypeDescription
int

DEVELOPER_OWNERS_FIELD_NUMBER

public static final int DEVELOPER_OWNERS_FIELD_NUMBER
Field Value
TypeDescription
int

ENVIRONMENT_FIELD_NUMBER

public static final int ENVIRONMENT_FIELD_NUMBER
Field Value
TypeDescription
int

OPERATOR_OWNERS_FIELD_NUMBER

public static final int OPERATOR_OWNERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Attributes getDefaultInstance()
Returns
TypeDescription
Attributes

getDescriptor()

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

newBuilder()

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

newBuilder(Attributes prototype)

public static Attributes.Builder newBuilder(Attributes prototype)
Parameter
NameDescription
prototypeAttributes
Returns
TypeDescription
Attributes.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBusinessOwners(int index)

public ContactInfo getBusinessOwners(int index)

Optional. Business team that ensures user needs are met and value is delivered

repeated .google.cloud.apphub.v1.ContactInfo business_owners = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
ContactInfo

getBusinessOwnersCount()

public int getBusinessOwnersCount()

Optional. Business team that ensures user needs are met and value is delivered

repeated .google.cloud.apphub.v1.ContactInfo business_owners = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getBusinessOwnersList()

public List<ContactInfo> getBusinessOwnersList()

Optional. Business team that ensures user needs are met and value is delivered

repeated .google.cloud.apphub.v1.ContactInfo business_owners = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<ContactInfo>

getBusinessOwnersOrBuilder(int index)

public ContactInfoOrBuilder getBusinessOwnersOrBuilder(int index)

Optional. Business team that ensures user needs are met and value is delivered

repeated .google.cloud.apphub.v1.ContactInfo business_owners = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
ContactInfoOrBuilder

getBusinessOwnersOrBuilderList()

public List<? extends ContactInfoOrBuilder> getBusinessOwnersOrBuilderList()

Optional. Business team that ensures user needs are met and value is delivered

repeated .google.cloud.apphub.v1.ContactInfo business_owners = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.apphub.v1.ContactInfoOrBuilder>

getCriticality()

public Criticality getCriticality()

Optional. User-defined criticality information.

.google.cloud.apphub.v1.Criticality criticality = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Criticality

The criticality.

getCriticalityOrBuilder()

public CriticalityOrBuilder getCriticalityOrBuilder()

Optional. User-defined criticality information.

.google.cloud.apphub.v1.Criticality criticality = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
CriticalityOrBuilder

getDefaultInstanceForType()

public Attributes getDefaultInstanceForType()
Returns
TypeDescription
Attributes

getDeveloperOwners(int index)

public ContactInfo getDeveloperOwners(int index)

Optional. Developer team that owns development and coding.

repeated .google.cloud.apphub.v1.ContactInfo developer_owners = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
ContactInfo

getDeveloperOwnersCount()

public int getDeveloperOwnersCount()

Optional. Developer team that owns development and coding.

repeated .google.cloud.apphub.v1.ContactInfo developer_owners = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getDeveloperOwnersList()

public List<ContactInfo> getDeveloperOwnersList()

Optional. Developer team that owns development and coding.

repeated .google.cloud.apphub.v1.ContactInfo developer_owners = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<ContactInfo>

getDeveloperOwnersOrBuilder(int index)

public ContactInfoOrBuilder getDeveloperOwnersOrBuilder(int index)

Optional. Developer team that owns development and coding.

repeated .google.cloud.apphub.v1.ContactInfo developer_owners = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
ContactInfoOrBuilder

getDeveloperOwnersOrBuilderList()

public List<? extends ContactInfoOrBuilder> getDeveloperOwnersOrBuilderList()

Optional. Developer team that owns development and coding.

repeated .google.cloud.apphub.v1.ContactInfo developer_owners = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.apphub.v1.ContactInfoOrBuilder>

getEnvironment()

public Environment getEnvironment()

Optional. User-defined environment information.

.google.cloud.apphub.v1.Environment environment = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Environment

The environment.

getEnvironmentOrBuilder()

public EnvironmentOrBuilder getEnvironmentOrBuilder()

Optional. User-defined environment information.

.google.cloud.apphub.v1.Environment environment = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EnvironmentOrBuilder

getOperatorOwners(int index)

public ContactInfo getOperatorOwners(int index)

Optional. Operator team that ensures runtime and operations.

repeated .google.cloud.apphub.v1.ContactInfo operator_owners = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
ContactInfo

getOperatorOwnersCount()

public int getOperatorOwnersCount()

Optional. Operator team that ensures runtime and operations.

repeated .google.cloud.apphub.v1.ContactInfo operator_owners = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getOperatorOwnersList()

public List<ContactInfo> getOperatorOwnersList()

Optional. Operator team that ensures runtime and operations.

repeated .google.cloud.apphub.v1.ContactInfo operator_owners = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<ContactInfo>

getOperatorOwnersOrBuilder(int index)

public ContactInfoOrBuilder getOperatorOwnersOrBuilder(int index)

Optional. Operator team that ensures runtime and operations.

repeated .google.cloud.apphub.v1.ContactInfo operator_owners = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
ContactInfoOrBuilder

getOperatorOwnersOrBuilderList()

public List<? extends ContactInfoOrBuilder> getOperatorOwnersOrBuilderList()

Optional. Operator team that ensures runtime and operations.

repeated .google.cloud.apphub.v1.ContactInfo operator_owners = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.apphub.v1.ContactInfoOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCriticality()

public boolean hasCriticality()

Optional. User-defined criticality information.

.google.cloud.apphub.v1.Criticality criticality = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the criticality field is set.

hasEnvironment()

public boolean hasEnvironment()

Optional. User-defined environment information.

.google.cloud.apphub.v1.Environment environment = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the environment field is set.

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 Attributes.Builder newBuilderForType()
Returns
TypeDescription
Attributes.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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