Class HydrationStatus.Builder (0.13.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HydrationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HydrationStatus.Builder
Overrides

build()

public HydrationStatus build()
Returns
Type Description
HydrationStatus

buildPartial()

public HydrationStatus buildPartial()
Returns
Type Description
HydrationStatus

clear()

public HydrationStatus.Builder clear()
Returns
Type Description
HydrationStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HydrationStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HydrationStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HydrationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
HydrationStatus.Builder

clearStatus()

public HydrationStatus.Builder clearStatus()

Output only. Status.

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

Returns
Type Description
HydrationStatus.Builder

This builder for chaining.

clone()

public HydrationStatus.Builder clone()
Returns
Type Description
HydrationStatus.Builder
Overrides

getDefaultInstanceForType()

public HydrationStatus getDefaultInstanceForType()
Returns
Type Description
HydrationStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
SiteVersionOrBuilder

getStatus()

public String getStatus()

Output only. Status.

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

Returns
Type Description
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

Output only. Status.

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

Returns
Type Description
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
Type Description
boolean

Whether the siteVersion field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HydrationStatus other)

public HydrationStatus.Builder mergeFrom(HydrationStatus other)
Parameter
Name Description
other HydrationStatus
Returns
Type Description
HydrationStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HydrationStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HydrationStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public HydrationStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value SiteVersion
Returns
Type Description
HydrationStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HydrationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HydrationStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public HydrationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HydrationStatus.Builder
Overrides

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

public HydrationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value SiteVersion
Returns
Type Description
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
Name Description
builderForValue SiteVersion.Builder
Returns
Type Description
HydrationStatus.Builder

setStatus(String value)

public HydrationStatus.Builder setStatus(String value)

Output only. Status.

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

Parameter
Name Description
value String

The status to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for status to set.

Returns
Type Description
HydrationStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final HydrationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HydrationStatus.Builder
Overrides