Class InterconnectsGetMacsecConfigResponse.Builder (1.63.0)

public static final class InterconnectsGetMacsecConfigResponse.Builder extends GeneratedMessageV3.Builder<InterconnectsGetMacsecConfigResponse.Builder> implements InterconnectsGetMacsecConfigResponseOrBuilder

Response for the InterconnectsGetMacsecConfigRequest.

Protobuf type google.cloud.compute.v1.InterconnectsGetMacsecConfigResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectsGetMacsecConfigResponse build()
Returns
Type Description
InterconnectsGetMacsecConfigResponse

buildPartial()

public InterconnectsGetMacsecConfigResponse buildPartial()
Returns
Type Description
InterconnectsGetMacsecConfigResponse

clear()

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

clearEtag()

public InterconnectsGetMacsecConfigResponse.Builder clearEtag()

end_interface: MixerGetResponseWithEtagBuilder

optional string etag = 3123477;

Returns
Type Description
InterconnectsGetMacsecConfigResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectsGetMacsecConfigResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InterconnectsGetMacsecConfigResponse.Builder
Overrides

clearResult()

public InterconnectsGetMacsecConfigResponse.Builder clearResult()

optional .google.cloud.compute.v1.InterconnectMacsecConfig result = 139315229;

Returns
Type Description
InterconnectsGetMacsecConfigResponse.Builder

clone()

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

getDefaultInstanceForType()

public InterconnectsGetMacsecConfigResponse getDefaultInstanceForType()
Returns
Type Description
InterconnectsGetMacsecConfigResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEtag()

public String getEtag()

end_interface: MixerGetResponseWithEtagBuilder

optional string etag = 3123477;

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

end_interface: MixerGetResponseWithEtagBuilder

optional string etag = 3123477;

Returns
Type Description
ByteString

The bytes for etag.

getResult()

public InterconnectMacsecConfig getResult()

optional .google.cloud.compute.v1.InterconnectMacsecConfig result = 139315229;

Returns
Type Description
InterconnectMacsecConfig

The result.

getResultBuilder()

public InterconnectMacsecConfig.Builder getResultBuilder()

optional .google.cloud.compute.v1.InterconnectMacsecConfig result = 139315229;

Returns
Type Description
InterconnectMacsecConfig.Builder

getResultOrBuilder()

public InterconnectMacsecConfigOrBuilder getResultOrBuilder()

optional .google.cloud.compute.v1.InterconnectMacsecConfig result = 139315229;

Returns
Type Description
InterconnectMacsecConfigOrBuilder

hasEtag()

public boolean hasEtag()

end_interface: MixerGetResponseWithEtagBuilder

optional string etag = 3123477;

Returns
Type Description
boolean

Whether the etag field is set.

hasResult()

public boolean hasResult()

optional .google.cloud.compute.v1.InterconnectMacsecConfig result = 139315229;

Returns
Type Description
boolean

Whether the result field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectsGetMacsecConfigResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InterconnectsGetMacsecConfigResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InterconnectsGetMacsecConfigResponse.Builder
Overrides

mergeResult(InterconnectMacsecConfig value)

public InterconnectsGetMacsecConfigResponse.Builder mergeResult(InterconnectMacsecConfig value)

optional .google.cloud.compute.v1.InterconnectMacsecConfig result = 139315229;

Parameter
Name Description
value InterconnectMacsecConfig
Returns
Type Description
InterconnectsGetMacsecConfigResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEtag(String value)

public InterconnectsGetMacsecConfigResponse.Builder setEtag(String value)

end_interface: MixerGetResponseWithEtagBuilder

optional string etag = 3123477;

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
InterconnectsGetMacsecConfigResponse.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public InterconnectsGetMacsecConfigResponse.Builder setEtagBytes(ByteString value)

end_interface: MixerGetResponseWithEtagBuilder

optional string etag = 3123477;

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
InterconnectsGetMacsecConfigResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public InterconnectsGetMacsecConfigResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InterconnectsGetMacsecConfigResponse.Builder
Overrides

setResult(InterconnectMacsecConfig value)

public InterconnectsGetMacsecConfigResponse.Builder setResult(InterconnectMacsecConfig value)

optional .google.cloud.compute.v1.InterconnectMacsecConfig result = 139315229;

Parameter
Name Description
value InterconnectMacsecConfig
Returns
Type Description
InterconnectsGetMacsecConfigResponse.Builder

setResult(InterconnectMacsecConfig.Builder builderForValue)

public InterconnectsGetMacsecConfigResponse.Builder setResult(InterconnectMacsecConfig.Builder builderForValue)

optional .google.cloud.compute.v1.InterconnectMacsecConfig result = 139315229;

Parameter
Name Description
builderForValue InterconnectMacsecConfig.Builder
Returns
Type Description
InterconnectsGetMacsecConfigResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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