Class CloudFunctionInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CloudFunctionInfo.Builder>
com.google.cloud.networkmanagement.v1beta1.CloudFunctionInfo.Builder
All Implemented Interfaces:
CloudFunctionInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CloudFunctionInfo

public static final class CloudFunctionInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<CloudFunctionInfo.Builder> implements CloudFunctionInfoOrBuilder
 For display only. Metadata associated with a Cloud Function.
 
Protobuf type google.cloud.networkmanagement.v1beta1.CloudFunctionInfo
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CloudFunctionInfo.Builder>
    • clear

      public CloudFunctionInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CloudFunctionInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CloudFunctionInfo.Builder>
    • getDefaultInstanceForType

      public CloudFunctionInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CloudFunctionInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CloudFunctionInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CloudFunctionInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudFunctionInfo.Builder>
    • mergeFrom

      public CloudFunctionInfo.Builder mergeFrom(CloudFunctionInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CloudFunctionInfo.Builder>
    • mergeFrom

      public CloudFunctionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudFunctionInfo.Builder>
      Throws:
      IOException
    • getDisplayName

      public String getDisplayName()
       Name of a Cloud Function.
       
      string display_name = 1;
      Specified by:
      getDisplayName in interface CloudFunctionInfoOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Name of a Cloud Function.
       
      string display_name = 1;
      Specified by:
      getDisplayNameBytes in interface CloudFunctionInfoOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public CloudFunctionInfo.Builder setDisplayName(String value)
       Name of a Cloud Function.
       
      string display_name = 1;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public CloudFunctionInfo.Builder clearDisplayName()
       Name of a Cloud Function.
       
      string display_name = 1;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public CloudFunctionInfo.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Name of a Cloud Function.
       
      string display_name = 1;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getUri

      public String getUri()
       URI of a Cloud Function.
       
      string uri = 2;
      Specified by:
      getUri in interface CloudFunctionInfoOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       URI of a Cloud Function.
       
      string uri = 2;
      Specified by:
      getUriBytes in interface CloudFunctionInfoOrBuilder
      Returns:
      The bytes for uri.
    • setUri

      public CloudFunctionInfo.Builder setUri(String value)
       URI of a Cloud Function.
       
      string uri = 2;
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

      public CloudFunctionInfo.Builder clearUri()
       URI of a Cloud Function.
       
      string uri = 2;
      Returns:
      This builder for chaining.
    • setUriBytes

      public CloudFunctionInfo.Builder setUriBytes(com.google.protobuf.ByteString value)
       URI of a Cloud Function.
       
      string uri = 2;
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • getLocation

      public String getLocation()
       Location in which the Cloud Function is deployed.
       
      string location = 3;
      Specified by:
      getLocation in interface CloudFunctionInfoOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       Location in which the Cloud Function is deployed.
       
      string location = 3;
      Specified by:
      getLocationBytes in interface CloudFunctionInfoOrBuilder
      Returns:
      The bytes for location.
    • setLocation

      public CloudFunctionInfo.Builder setLocation(String value)
       Location in which the Cloud Function is deployed.
       
      string location = 3;
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

      public CloudFunctionInfo.Builder clearLocation()
       Location in which the Cloud Function is deployed.
       
      string location = 3;
      Returns:
      This builder for chaining.
    • setLocationBytes

      public CloudFunctionInfo.Builder setLocationBytes(com.google.protobuf.ByteString value)
       Location in which the Cloud Function is deployed.
       
      string location = 3;
      Parameters:
      value - The bytes for location to set.
      Returns:
      This builder for chaining.
    • getVersionId

      public long getVersionId()
       Latest successfully deployed version id of the Cloud Function.
       
      int64 version_id = 4;
      Specified by:
      getVersionId in interface CloudFunctionInfoOrBuilder
      Returns:
      The versionId.
    • setVersionId

      public CloudFunctionInfo.Builder setVersionId(long value)
       Latest successfully deployed version id of the Cloud Function.
       
      int64 version_id = 4;
      Parameters:
      value - The versionId to set.
      Returns:
      This builder for chaining.
    • clearVersionId

      public CloudFunctionInfo.Builder clearVersionId()
       Latest successfully deployed version id of the Cloud Function.
       
      int64 version_id = 4;
      Returns:
      This builder for chaining.