Class InterconnectsGetMacsecConfigResponse.Builder (1.45.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectsGetMacsecConfigResponse build()
Returns
TypeDescription
InterconnectsGetMacsecConfigResponse

buildPartial()

public InterconnectsGetMacsecConfigResponse buildPartial()
Returns
TypeDescription
InterconnectsGetMacsecConfigResponse

clear()

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

clearEtag()

public InterconnectsGetMacsecConfigResponse.Builder clearEtag()

end_interface: MixerGetResponseWithEtagBuilder

optional string etag = 3123477;

Returns
TypeDescription
InterconnectsGetMacsecConfigResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResult()

public InterconnectsGetMacsecConfigResponse.Builder clearResult()

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

Returns
TypeDescription
InterconnectsGetMacsecConfigResponse.Builder

clone()

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

getDefaultInstanceForType()

public InterconnectsGetMacsecConfigResponse getDefaultInstanceForType()
Returns
TypeDescription
InterconnectsGetMacsecConfigResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEtag()

public String getEtag()

end_interface: MixerGetResponseWithEtagBuilder

optional string etag = 3123477;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

end_interface: MixerGetResponseWithEtagBuilder

optional string etag = 3123477;

Returns
TypeDescription
ByteString

The bytes for etag.

getResult()

public InterconnectMacsecConfig getResult()

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

Returns
TypeDescription
InterconnectMacsecConfig

The result.

getResultBuilder()

public InterconnectMacsecConfig.Builder getResultBuilder()

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

Returns
TypeDescription
InterconnectMacsecConfig.Builder

getResultOrBuilder()

public InterconnectMacsecConfigOrBuilder getResultOrBuilder()

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

Returns
TypeDescription
InterconnectMacsecConfigOrBuilder

hasEtag()

public boolean hasEtag()

end_interface: MixerGetResponseWithEtagBuilder

optional string etag = 3123477;

Returns
TypeDescription
boolean

Whether the etag field is set.

hasResult()

public boolean hasResult()

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

Returns
TypeDescription
boolean

Whether the result field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectsGetMacsecConfigResponse other)

public InterconnectsGetMacsecConfigResponse.Builder mergeFrom(InterconnectsGetMacsecConfigResponse other)
Parameter
NameDescription
otherInterconnectsGetMacsecConfigResponse
Returns
TypeDescription
InterconnectsGetMacsecConfigResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResult(InterconnectMacsecConfig value)

public InterconnectsGetMacsecConfigResponse.Builder mergeResult(InterconnectMacsecConfig value)

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

Parameter
NameDescription
valueInterconnectMacsecConfig
Returns
TypeDescription
InterconnectsGetMacsecConfigResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEtag(String value)

public InterconnectsGetMacsecConfigResponse.Builder setEtag(String value)

end_interface: MixerGetResponseWithEtagBuilder

optional string etag = 3123477;

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
InterconnectsGetMacsecConfigResponse.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public InterconnectsGetMacsecConfigResponse.Builder setEtagBytes(ByteString value)

end_interface: MixerGetResponseWithEtagBuilder

optional string etag = 3123477;

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
InterconnectsGetMacsecConfigResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setResult(InterconnectMacsecConfig value)

public InterconnectsGetMacsecConfigResponse.Builder setResult(InterconnectMacsecConfig value)

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

Parameter
NameDescription
valueInterconnectMacsecConfig
Returns
TypeDescription
InterconnectsGetMacsecConfigResponse.Builder

setResult(InterconnectMacsecConfig.Builder builderForValue)

public InterconnectsGetMacsecConfigResponse.Builder setResult(InterconnectMacsecConfig.Builder builderForValue)

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

Parameter
NameDescription
builderForValueInterconnectMacsecConfig.Builder
Returns
TypeDescription
InterconnectsGetMacsecConfigResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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