Class HydrationStatus.Builder (0.9.0)

public static final class HydrationStatus.Builder extends GeneratedMessageV3.Builder<HydrationStatus.Builder> implements HydrationStatusOrBuilder

Hydration status.

Protobuf type google.cloud.telcoautomation.v1.HydrationStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HydrationStatus build()
Returns
TypeDescription
HydrationStatus

buildPartial()

public HydrationStatus buildPartial()
Returns
TypeDescription
HydrationStatus

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSiteVersion()

public HydrationStatus.Builder clearSiteVersion()

Output only. SiteVersion Hydration is targeting.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
HydrationStatus.Builder

clearStatus()

public HydrationStatus.Builder clearStatus()

Output only. Status.

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

Returns
TypeDescription
HydrationStatus.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public HydrationStatus getDefaultInstanceForType()
Returns
TypeDescription
HydrationStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSiteVersion()

public SiteVersion getSiteVersion()

Output only. SiteVersion Hydration is targeting.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
SiteVersion

The siteVersion.

getSiteVersionBuilder()

public SiteVersion.Builder getSiteVersionBuilder()

Output only. SiteVersion Hydration is targeting.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
SiteVersion.Builder

getSiteVersionOrBuilder()

public SiteVersionOrBuilder getSiteVersionOrBuilder()

Output only. SiteVersion Hydration is targeting.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
SiteVersionOrBuilder

getStatus()

public String getStatus()

Output only. Status.

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

Returns
TypeDescription
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

Output only. Status.

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

Returns
TypeDescription
ByteString

The bytes for status.

hasSiteVersion()

public boolean hasSiteVersion()

Output only. SiteVersion Hydration is targeting.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the siteVersion field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HydrationStatus other)

public HydrationStatus.Builder mergeFrom(HydrationStatus other)
Parameter
NameDescription
otherHydrationStatus
Returns
TypeDescription
HydrationStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSiteVersion(SiteVersion value)

public HydrationStatus.Builder mergeSiteVersion(SiteVersion value)

Output only. SiteVersion Hydration is targeting.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueSiteVersion
Returns
TypeDescription
HydrationStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSiteVersion(SiteVersion value)

public HydrationStatus.Builder setSiteVersion(SiteVersion value)

Output only. SiteVersion Hydration is targeting.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueSiteVersion
Returns
TypeDescription
HydrationStatus.Builder

setSiteVersion(SiteVersion.Builder builderForValue)

public HydrationStatus.Builder setSiteVersion(SiteVersion.Builder builderForValue)

Output only. SiteVersion Hydration is targeting.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueSiteVersion.Builder
Returns
TypeDescription
HydrationStatus.Builder

setStatus(String value)

public HydrationStatus.Builder setStatus(String value)

Output only. Status.

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

Parameter
NameDescription
valueString

The status to set.

Returns
TypeDescription
HydrationStatus.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public HydrationStatus.Builder setStatusBytes(ByteString value)

Output only. Status.

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

Parameter
NameDescription
valueByteString

The bytes for status to set.

Returns
TypeDescription
HydrationStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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